Closed
Description
π Search Terms
enum
π Version & Regression Information
TypeScript 5.4.x
5.3.x is OK
β― Playground Link
π» Code
const enum A {
NaN = 1,
Infinity = 2
}
π Actual behavior
An enum member cannot have a numeric name.(2452)
π Expected behavior
no error here
Additional information about the issue
No response