We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The typescript builder checks names for keywords, but it uses a list of koltin keywords instead of a list of typescript keywords:
typescriptpoet/src/main/java/io/outfoxx/typescriptpoet/Utils.kt
Lines 158 to 188 in 62d7d4b
The list is missing they keyword enum as an example (which is also a keyword in kotlin).
enum
The text was updated successfully, but these errors were encountered:
You are correct! Both the Swift and TypeScript poets originated from meddling with the Kotlin & Java Poets; there are deficiencies.
Welcome any PRs or information you can contribute. Specifically, where the TS keyword list is defined would be very helpful.
Sorry, something went wrong.
I found this in the official typescript parser source code: https://github.com/microsoft/TypeScript/blob/b1bec34f20690c6fdf6cc6e3d8cacee1e075f5ae/src/compiler/types.ts#L141
No branches or pull requests
The typescript builder checks names for keywords, but it uses a list of koltin keywords instead of a list of typescript keywords:
typescriptpoet/src/main/java/io/outfoxx/typescriptpoet/Utils.kt
Lines 158 to 188 in 62d7d4b
The list is missing they keyword
enum
as an example (which is also a keyword in kotlin).The text was updated successfully, but these errors were encountered: