17 lines
503 B
Text
17 lines
503 B
Text
=== 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))
|
|
|