typescriptpoet icon indicating copy to clipboard operation
typescriptpoet copied to clipboard

The used list of keywords is from kotlin but should be for typescript

Open Legion2 opened this issue 11 months ago • 2 comments

The typescript builder checks names for keywords, but it uses a list of koltin keywords instead of a list of typescript keywords:

https://github.com/outfoxx/typescriptpoet/blob/62d7d4b276b6039bd04729ddb135a9428e61b03e/src/main/java/io/outfoxx/typescriptpoet/Utils.kt#L158-L188

The list is missing they keyword enum as an example (which is also a keyword in kotlin).

Legion2 avatar Jul 24 '23 12:07 Legion2