-
Notifications
You must be signed in to change notification settings - Fork 30.5k
Update node types for TS 4.9 beta #62375
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
Conversation
Add static method AbortSignal.timeout.
If this works, a later version of TS can re-add AbortSignal.abort and
node can add support for that too.
I created a ts4.8/ subdirectory for each of v14, v16, and current. I
didn't try to share types like before. With 2*3 entries I think it's
reasonably maintainable and the old way was very confusing to change.
typesVersions has a weird entry `">4.9.0-a": { "*": ["*"] }` which
works around a bug in semver parsing in Typescript. I need to ship a new
version of dtslint to allow this but I wanted to get this PR out for
people to look at.
|
The semver bug is over at microsoft/TypeScript#50909 FWIW |
|
The minimum prerelease version is |
types/node/package.json
Outdated
| ">4.9.0-a": { "*": ["*"] }, | ||
| "<=4.8": { "*": ["ts4.8/*"] } |
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.
| ">4.9.0-a": { "*": ["*"] }, | |
| "<=4.8": { "*": ["ts4.8/*"] } | |
| ">=4.9.0-0": { "*": ["*"] }, | |
| "<4.9.0-0": { "*": ["ts4.8/*"] } |
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.
Actually, with "<4.9.0-0", ">=4.9.0-0" is no longer needed. I'll change dtslint to allow <=4.8 or <4.9.0-0
|
I'm going to update the format of typesVersions in dependents in a separate PR. Those are the only failures, so I'm going to merge this. |
|
would that impact CI validation time? Let me check |
|
#62389 fails because of this |
|
@pauhull those errors with TS versioning have been fixed in master. You have to update your PR from current master |
Add static method AbortSignal.timeout.
If this works, a later version of TS can re-add AbortSignal.abort and node can add support for that too.
I created a ts4.8/ subdirectory for each of v14, v16, and current. I didn't try to share types like before. With 2*3 entries I think it's reasonably maintainable and the old way was very confusing to change.
typesVersions has a weird entry
">4.9.0-a": { "*": ["*"] }which works around a bug in semver parsing in Typescript. I need to ship a new version of dtslint to allow this but I wanted to get this PR out for people to look at.