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