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
TypeScript 6.0.3 accepts this with --ignoreConfig --strict --target ES2022 --noEmit. Its emitted JavaScript prints 5. SharpTS with --no-tsconfig --strict --noEmit reports Expression type 'Variable' is not allowed in const enum initializer.
#3604 tracks the ordinary enum case. This case also needs the const enum's compile-time values in the interpreter and compiler.
Activity