mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
549 B
Plaintext
16 lines
549 B
Plaintext
enumMemberResolution.ts(4,9): error TS2304: Cannot find name 'IgnoreRulesSpecific'.
|
|
enumMemberResolution.ts(4,29): error TS1003: Identifier expected.
|
|
|
|
|
|
==== enumMemberResolution.ts (2 errors) ====
|
|
enum Position2 {
|
|
IgnoreRulesSpecific = 0
|
|
}
|
|
var x = IgnoreRulesSpecific. // error
|
|
~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'IgnoreRulesSpecific'.
|
|
|
|
!!! error TS1003: Identifier expected.
|
|
var y = 1;
|
|
var z = Position2.IgnoreRulesSpecific; // no error
|
|
|