Files
tsgo/testdata/baselines/reference/submodule/compiler/commentOnAmbientModule.symbols

40 lines
830 B
Plaintext

//// [tests/cases/compiler/commentOnAmbientModule.ts] ////
=== b.ts ===
///<reference path="a.ts"/>
declare namespace E {
>E : Symbol(E, Decl(b.ts, 0, 0))
class foobar extends D.bar {
>foobar : Symbol(foobar, Decl(b.ts, 1, 21))
>D.bar : Symbol(D.bar, Decl(a.ts, 11, 21))
>D : Symbol(D, Decl(a.ts, 8, 1))
>bar : Symbol(D.bar, Decl(a.ts, 11, 21))
foo();
>foo : Symbol(foobar.foo, Decl(b.ts, 2, 32))
}
}
=== a.ts ===
/*!=========
Keep this pinned comment
=========
*/
/*! Don't keep this pinned comment */
declare namespace C {
>C : Symbol(C, Decl(a.ts, 0, 0))
function foo();
>foo : Symbol(foo, Decl(a.ts, 6, 21))
}
// Don't keep this comment.
declare namespace D {
>D : Symbol(D, Decl(a.ts, 8, 1))
class bar { }
>bar : Symbol(bar, Decl(a.ts, 11, 21))
}