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