mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
8 lines
282 B
Plaintext
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'. |