23 lines
467 B
Plaintext
23 lines
467 B
Plaintext
=== 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
|
|
=========
|
|
*/
|
|
|
|
/*! Don't keep this pinned comment */
|
|
declare function foo();
|
|
>foo : () => any
|
|
|
|
// Don't keep this comment.
|
|
declare function bar();
|
|
>bar : () => any
|
|
|