TypeScript/tests/baselines/reference/enumsWithMultipleDeclarations1.errors.txt

16 lines
429 B
Plaintext
Raw Normal View History

==== tests/cases/compiler/enumsWithMultipleDeclarations1.ts (2 errors) ====
enum E {
A
}
enum E {
B
~
!!! In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.
}
enum E {
C
~
!!! In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.
}