6 lines
No EOL
208 B
Text
6 lines
No EOL
208 B
Text
==== tests/cases/compiler/ambientEnumElementInitializer3.ts (1 errors) ====
|
|
declare enum E {
|
|
e = 3.3 // Decimal
|
|
~
|
|
!!! Ambient enum elements can only have integer literal initializers.
|
|
} |