TypeScript/tests/baselines/reference/commentOnAmbientfunction.symbols
2015-04-15 16:44:20 -07:00

18 lines
503 B
Plaintext

=== tests/cases/compiler/b.ts ===
///<reference path="a.ts"/>
declare function foobar(a: typeof foo): typeof bar;
>foobar : Symbol(foobar, Decl(b.ts, 0, 0))
>a : Symbol(a, Decl(b.ts, 1, 24))
>foo : Symbol(foo, Decl(a.ts, 0, 0))
>bar : Symbol(bar, Decl(a.ts, 1, 23))
=== tests/cases/compiler/a.ts ===
/*! Keep this pinned comment */
declare function foo();
>foo : Symbol(foo, Decl(a.ts, 0, 0))
// Don't keep this comment.
declare function bar();
>bar : Symbol(bar, Decl(a.ts, 1, 23))