32 lines
439 B
TypeScript
32 lines
439 B
TypeScript
//// [tests/cases/compiler/commentOnAmbientEnum.ts] ////
|
|
|
|
//// [a.ts]
|
|
/*!=========
|
|
Keep this pinned comment
|
|
=========
|
|
*/
|
|
|
|
/*! Don't keep this pinned comment */
|
|
declare enum C {
|
|
a,
|
|
b,
|
|
c
|
|
}
|
|
|
|
// Don't keep this comment.
|
|
declare enum D {
|
|
}
|
|
|
|
//// [b.ts]
|
|
///<reference path="a.ts"/>
|
|
declare enum E {
|
|
}
|
|
|
|
//// [a.js]
|
|
/*!=========
|
|
Keep this pinned comment
|
|
=========
|
|
*/
|
|
//// [b.js]
|
|
///<reference path="a.ts"/>
|