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
Enum constant evaluation rejects mixed string and number concatenation #3633
TypeScript 6.0.3 accepts this with --ignoreConfig --strict --target ES2022 and its output prints value5. SharpTS with the string const initializer fix for #3624 still reports TS18033 with --no-tsconfig --strict --noEmit.
The constant evaluator should coerce the numeric operand to a string during concatenation and use the resulting string as a forward-only enum value. Found while verifying #3624, which covers string const variables.
Activity