2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/ambientEnumElementInitializer3.ts(2,2): error TS1066: Ambient enum elements can only have integer literal initializers.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/ambientEnumElementInitializer3.ts (1 errors) ====
|
|
|
|
declare enum E {
|
|
|
|
e = 3.3 // Decimal
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1066: Ambient enum elements can only have integer literal initializers.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|