14 lines
307 B
Plaintext
14 lines
307 B
Plaintext
==== tests/cases/compiler/enumsWithMultipleDeclarations2.ts (1 errors) ====
|
|
enum E {
|
|
A
|
|
}
|
|
|
|
enum E {
|
|
B = 1
|
|
}
|
|
|
|
enum E {
|
|
C
|
|
~
|
|
!!! In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.
|
|
} |