17 lines
372 B
TypeScript
17 lines
372 B
TypeScript
//// [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"/>
|