10 lines
173 B
JavaScript
10 lines
173 B
JavaScript
//// [preserveConstEnums.ts]
|
|
const enum E {
|
|
Value = 1
|
|
}
|
|
|
|
//// [preserveConstEnums.js]
|
|
var E;
|
|
(function (E) {
|
|
E[E["Value"] = 1] = "Value";
|
|
})(E || (E = {}));
|