mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
31 lines
1.5 KiB
Plaintext
31 lines
1.5 KiB
Plaintext
//// [tests/cases/compiler/emitOneLineVariableDeclarationRemoveCommentsFalse.ts] ////
|
|
|
|
=== emitOneLineVariableDeclarationRemoveCommentsFalse.ts ===
|
|
let a = /*[[${something}]]*/ {};
|
|
>a : Symbol(a, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 0, 3))
|
|
|
|
let b: any = /*[[${something}]]*/ {};
|
|
>b : Symbol(b, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 1, 3))
|
|
|
|
let c: { hoge: boolean } = /*[[${something}]]*/ { hoge: true };
|
|
>c : Symbol(c, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 2, 3))
|
|
>hoge : Symbol(hoge, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 2, 8))
|
|
>hoge : Symbol(hoge, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 2, 49))
|
|
|
|
let d: any /*[[${something}]]*/ = {};
|
|
>d : Symbol(d, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 3, 3))
|
|
|
|
let e/*[[${something}]]*/: any = {};
|
|
>e : Symbol(e, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 4, 3))
|
|
|
|
let f = /* comment1 */ d(e);
|
|
>f : Symbol(f, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 5, 3))
|
|
>d : Symbol(d, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 3, 3))
|
|
>e : Symbol(e, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 4, 3))
|
|
|
|
let g: any = /* comment2 */ d(e);
|
|
>g : Symbol(g, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 6, 3))
|
|
>d : Symbol(d, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 3, 3))
|
|
>e : Symbol(e, Decl(emitOneLineVariableDeclarationRemoveCommentsFalse.ts, 4, 3))
|
|
|