mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
277 B
Plaintext
12 lines
277 B
Plaintext
enumWithComputedMember.ts(4,5): error TS1061: Enum member must have initializer.
|
|
|
|
|
|
==== enumWithComputedMember.ts (1 errors) ====
|
|
enum A {
|
|
X = "".length,
|
|
Y = X,
|
|
Z
|
|
~
|
|
!!! error TS1061: Enum member must have initializer.
|
|
}
|
|
|