mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
34 lines
469 B
TypeScript
34 lines
469 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]
|
|
"use strict";
|
|
/*!=========
|
|
Keep this pinned comment
|
|
=========
|
|
*/
|
|
//// [b.js]
|
|
"use strict";
|
|
///<reference path="a.ts"/>
|