-
Notifications
You must be signed in to change notification settings - Fork 894
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 4.7.4 #6682
Conversation
🦋 Changeset detectedLatest commit: 915f8df The changes in this PR will be included in the next version bump. This PR includes changesets to release 46 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected Products
Test Logs |
3e082cf
to
5848943
Compare
Changeset File Check ✅
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Size Analysis Report 1Affected Products
Test Logs |
f1a7825
to
4de31e0
Compare
We need to upgrade our TypeScript version, it's still at 4.2.2 and the latest is 4.8.4. We are going to try for a little behind the latest version, because some of our other deps have dependencies on TypeScript and may lag a little on which version they support. So we'll try for 4.7.4, the last 4.7.* release.
Most of the necessary updates (e.g. adding types to caught errors) have already been done by @dwyfrequency in previous PRs.
The most notable fix here is that TypeScript 4.3 introduced the ability for TS to recognize
{@link
statements in comments, which caused it to break up comments into multiple nodes which caused some assumptions inprune-dts
to break.Also updated deprecated methods in
prune-dts
(Firestore-only script that intercepts api-extractor and does some extra things) andcreate-overloads
(adds typings to compat d.ts files to enable users to use compat and modular instances in the same code) scripts.