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