2015-02-16 22:48:36 +01:00
|
|
|
tests/cases/compiler/constEnumBadPropertyNames.ts(2,11): error TS2479: Property 'B' does not exist on 'const' enum 'E'.
|
2015-01-12 19:58:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
==== tests/cases/compiler/constEnumBadPropertyNames.ts (1 errors) ====
|
|
|
|
const enum E { A }
|
|
|
|
var x = E["B"]
|
|
|
|
~~~
|
2015-02-16 22:48:36 +01:00
|
|
|
!!! error TS2479: Property 'B' does not exist on 'const' enum 'E'.
|