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

Use latest TypeScript version #423

Merged
merged 5 commits into from
Jun 24, 2024
Merged

Use latest TypeScript version #423

merged 5 commits into from
Jun 24, 2024

Conversation

wjhsf
Copy link
Contributor

@wjhsf wjhsf commented Jun 21, 2024

Now that we're a TypeScript project, changing TypeScript version is a breaking change. We only get one TypeScript version per major release, so we should use the latest version, rather than the version that was current when we started moving to TypeScript ages ago.

Code change is a linter fix, I guess due to better type detection.

npm i doesn't complain but npm ci does :\
colincasey
colincasey previously approved these changes Jun 21, 2024
Copy link
Contributor

@colincasey colincasey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, when we first discussed this TypeScript v5 was just released. With v5 usage being double that of v4 right now I think it makes sense to switch over.

@wjhsf wjhsf merged commit e485f17 into master Jun 24, 2024
8 checks passed
@wjhsf wjhsf deleted the wjh/latest-ts branch June 24, 2024 14:24
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.

None yet

2 participants