You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Checker does not use constant variables for implicit enum member values #3604
TypeScript 6.0.3 accepts this and its JavaScript prints 5 in Node. SharpTS with --no-tsconfig --strict --noEmit reports TS1061 for B. The enum constant evaluator recognizes arithmetic and earlier enum members but does not resolve const variable initializers. This also happens with const source = 1 << 2. Found while verifying #3572.
Activity