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

JavaScript: Update to TypeScript 4.8 #10184

Merged
merged 6 commits into from Aug 29, 2022
Merged

JavaScript: Update to TypeScript 4.8 #10184

merged 6 commits into from Aug 29, 2022

Conversation

erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Aug 26, 2022

https://devblogs.microsoft.com/typescript/announcing-typescript-4-8

The most tricky part was a change to the syntax tree representation.
The modifiers property that we rely on in TypeScriptASTConverter.java might disappear at a later time.
The fix at that point will be to use ts.canHaveModifiers() and ts.getModifiers().

TypeScript changed how illegal decorators are stored between 4.8.1-RC and 4.8.2 (this PR). So I had to fix that.

Otherwise it was an uneventful update.
There's not much new, and what's new doesn't affect us, except that we get slightly more precise types from TypeScript.

Evaluation will appear here.

@erik-krogh erik-krogh changed the title Ts48 JavaScript: Update to TypeScript 4.8 Aug 26, 2022
@erik-krogh erik-krogh marked this pull request as ready for review August 29, 2022 10:26
@erik-krogh erik-krogh requested a review from a team as a code owner August 29, 2022 10:26
Copy link
Contributor

@asgerf asgerf left a comment

Choose a reason for hiding this comment

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

👍

@erik-krogh erik-krogh merged commit 27bc698 into github:main Aug 29, 2022
erik-krogh added a commit to erik-krogh/ql that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants