Skip to content

Conversation

@ckarli
Copy link
Contributor

@ckarli ckarli commented Dec 16, 2025

Enums with integer keys gives an error during generation.

export enum VatRatioChoices {0=0,1=1,8=8,10=10,18=18,20=20}
SyntaxError: An enum member cannot have a numeric name.
schema.json

Enums with integer keys gives an error during generation.

SyntaxError: An enum member cannot have a numeric name. 
export enum VatRatioChoices {0=0,1=1,8=8,10=10,18=18,20=20}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant