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

Upgrade typescript to 5.2 #6997

Merged
merged 9 commits into from
Dec 13, 2023
Merged

Upgrade typescript to 5.2 #6997

merged 9 commits into from
Dec 13, 2023

Conversation

tephenavies
Copy link
Member

@tephenavies tephenavies commented Dec 3, 2023

What this PR does

Offshoot of #6902.

  • Upgrades TypeScript to 5.3 5.2
  • Improve tsconfig files
  • Switch to new JSX transform (added in React 17 and backported to React 16.14)

Test me

http://ci.terria.io/ts5/

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.
  • I've provided instructions in the PR description on how to test this PR.

@tephenavies tephenavies marked this pull request as draft December 3, 2023 15:38
@tephenavies
Copy link
Member Author

tephenavies commented Dec 3, 2023

☹️ TS 5.2 -> 5.3 upgrade breaks our cursed super access: microsoft/TypeScript#35314

@tephenavies tephenavies changed the title Upgrade typescript to 5.3 Upgrade typescript to 5.2 Dec 4, 2023
@tephenavies tephenavies marked this pull request as ready for review December 6, 2023 02:23
tsconfig-node.json Outdated Show resolved Hide resolved
Co-authored-by: Lawrence Owen <lawrence.owen@csiro.au>
tsconfig.json Show resolved Hide resolved
@nf-s nf-s mentioned this pull request Dec 7, 2023
@nf-s
Copy link
Contributor

nf-s commented Dec 13, 2023

Ready to merge in now

@tephenavies tephenavies merged commit b48a1d7 into main Dec 13, 2023
3 checks passed
@tephenavies tephenavies deleted the ts5 branch December 13, 2023 04:28
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.

3 participants