mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
316 B
Plaintext
13 lines
316 B
Plaintext
constEnum4.ts(3,10): error TS2872: This kind of expression is always truthy.
|
|
|
|
|
|
==== constEnum4.ts (1 errors) ====
|
|
if (1)
|
|
const enum A { }
|
|
else if (2)
|
|
~
|
|
!!! error TS2872: This kind of expression is always truthy.
|
|
const enum B { }
|
|
else
|
|
const enum C { }
|
|
|