Sample code
export enum A {
static = 'static'
}
TypeScript 5.0.4
In 1.0.4 it generated something like this:
A.static.displayName = "A.static"
A.static.__docgenInfo = { ... }
In 1.0.5 it generates:
A.static.displayName = "A.static"
static.__docgenInfo = { ... }
(that in this example breaks parsing because static is a reserved word, such that even try/catch doesn't help)
I think it is the result of this commit a91043f
Sample code
TypeScript 5.0.4
In 1.0.4 it generated something like this:
In 1.0.5 it generates:
(that in this example breaks parsing because
staticis a reserved word, such that even try/catch doesn't help)I think it is the result of this commit a91043f