mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
34 lines
518 B
Plaintext
34 lines
518 B
Plaintext
//// [tests/cases/compiler/doNotEmitDetachedComments.ts] ////
|
|
|
|
=== doNotEmitDetachedComments.ts ===
|
|
/*
|
|
|
|
multi line
|
|
comment
|
|
*/
|
|
|
|
var x = 10;
|
|
>x : Symbol(x, Decl(doNotEmitDetachedComments.ts, 6, 3))
|
|
|
|
// Single Line comment
|
|
|
|
function foo() { }
|
|
>foo : Symbol(foo, Decl(doNotEmitDetachedComments.ts, 6, 11))
|
|
|
|
|
|
/*
|
|
multi-line comment
|
|
|
|
*/
|
|
|
|
|
|
//========================
|
|
|
|
|
|
function bar() { }
|
|
>bar : Symbol(bar, Decl(doNotEmitDetachedComments.ts, 10, 18))
|
|
|
|
|
|
//========================
|
|
|