23 lines
345 B
TypeScript
23 lines
345 B
TypeScript
//// [tests/cases/compiler/commentOnAmbientEnum.ts] ////
|
|
|
|
//// [a.ts]
|
|
/*! 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"/>
|