Files
tsgo/testdata/baselines/reference/submodule/compiler/constEnumBadPropertyNames.errors.txt

8 lines
282 B
Plaintext

constEnumBadPropertyNames.ts(2,11): error TS2339: Property 'B' does not exist on type 'typeof E'.
==== constEnumBadPropertyNames.ts (1 errors) ====
const enum E { A }
var x = E["B"]
~~~
!!! error TS2339: Property 'B' does not exist on type 'typeof E'.