mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
325 B
TypeScript
19 lines
325 B
TypeScript
//// [tests/cases/compiler/enumCodeGenNewLines1.ts] ////
|
|
|
|
//// [enumCodeGenNewLines1.ts]
|
|
enum foo {
|
|
b = 1,
|
|
c = 2,
|
|
d = 3
|
|
}
|
|
|
|
|
|
//// [enumCodeGenNewLines1.js]
|
|
"use strict";
|
|
var foo;
|
|
(function (foo) {
|
|
foo[foo["b"] = 1] = "b";
|
|
foo[foo["c"] = 2] = "c";
|
|
foo[foo["d"] = 3] = "d";
|
|
})(foo || (foo = {}));
|