10 lines
344 B
Plaintext
10 lines
344 B
Plaintext
==== tests/cases/conformance/parser/ecmascript5/EnumDeclarations/parserEnum5.ts (3 errors) ====
|
|
enum E2 { a, }
|
|
enum E3 { a: 1, }
|
|
~
|
|
!!! error TS1005: ',' expected.
|
|
enum E1 { a, b: 1, c, d: 2 = 3 }
|
|
~
|
|
!!! error TS1005: ',' expected.
|
|
~
|
|
!!! error TS1005: ',' expected. |