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

chore: bump TypeScript to 4.0.1-rc #5643

Merged
merged 2 commits into from
Aug 15, 2020
Merged

chore: bump TypeScript to 4.0.1-rc #5643

merged 2 commits into from
Aug 15, 2020

Conversation

cartant
Copy link
Collaborator

@cartant cartant commented Aug 12, 2020

Description:

This PR bumps TypeScript to 4.0.1-rc. Almost no changes were needed:

  • npm run lint effects no failures.
  • npm run test sees all tests pass with no compile errors.
  • npm run build:package builds with no compile errors.
  • npm run dtslint effected a single failure that was due to named tuple elements being a thing in TS4. (It seems the file with this change had CRLF line endings. They're now LF, hence the large diff. The change is on line 71.)
  • And I guess we'll soon find out what happens in CI ... It seems CI is happy 🎉

IMO, we might as well bump this now. Given that it will allow us to remove so many overloads, I think we should be choosing TS4 as the minimum supported version for v7.

Note that this change will affect the Google merge, as they're using TypeScript 3.8.2. 😬

Related issue (if exists): None


it('should support rest tuples', () => {
let explicit: Cons<A, B[]>;
let inferred = explicit!; // $ExpectType [arg: A, ...rest: B[]]
Copy link
Member

Choose a reason for hiding this comment

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

🤯

@benlesh benlesh merged commit 3a850bc into ReactiveX:master Aug 15, 2020
@cartant cartant deleted the ts4 branch September 24, 2020 07:10
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.

2 participants