18 lines
397 B
Text
18 lines
397 B
Text
|
=== tests/cases/compiler/b.ts ===
|
||
|
///<reference path="a.ts"/>
|
||
|
declare function foobar(a: typeof foo): typeof bar;
|
||
|
>foobar : (a: () => any) => () => any
|
||
|
>a : () => any
|
||
|
>foo : () => any
|
||
|
>bar : () => any
|
||
|
|
||
|
=== tests/cases/compiler/a.ts ===
|
||
|
/*! Keep this pinned comment */
|
||
|
declare function foo();
|
||
|
>foo : () => any
|
||
|
|
||
|
// Don't keep this comment.
|
||
|
declare function bar();
|
||
|
>bar : () => any
|
||
|
|