Skip to content
New issue

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

feat: Update to typescript@5 #56

Merged
merged 3 commits into from
Oct 30, 2024
Merged

feat: Update to typescript@5 #56

merged 3 commits into from
Oct 30, 2024

Conversation

marcustyphoon
Copy link
Collaborator

@marcustyphoon marcustyphoon commented Oct 30, 2024

We were previously stuck on typescript 4.7.4 due to dependencies on typescript-is and ttypescript in the api-typecheck script used to verify that the API types are correct in gw2-ui. This migrates to their recommended replacements and to the latest typescript version.

Note that patching typescript at all may be kind of pointless; typia ships a generate function that could be used instead of rollup, and the whole script could be in typescript and run with tsx. This is used in the gear optimizer: https://github.com/discretize/discretize-gear-optimizer/blob/main/src/assets/typevalidation/index.ts / https://github.com/discretize/discretize-gear-optimizer/blob/0c95df443043c8d3366771ee5ddc365f475ac039/package.json#L37

@marcustyphoon marcustyphoon merged commit 70df4de into main Oct 30, 2024
1 check passed
@marcustyphoon marcustyphoon deleted the typescript-5 branch October 30, 2024 09:23
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