24 lines
345 B
JavaScript
24 lines
345 B
JavaScript
|
//// [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"/>
|