-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Introduce ES2024 target and fix some types #58573
base: main
Are you sure you want to change the base?
Conversation
Thanks for the PR! It looks like you've changed the TSServer protocol in some way. Please ensure that any changes here don't break consumers of the current TSServer API. For some extra review, we'll ping @sheetalkamat, @mjbvz, @zkat, and @joj for you. Feel free to loop in other consumers/maintainers if necessary. |
Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page. Also, please make sure @DanielRosenwasser and @RyanCavanaugh are aware of the changes, just as a heads up. |
It is strange that ES2024 |
If it was a mistake, I don't think we'd be against fixing it. If you make that change, we can run the extended tests and see how bad it would be. |
Hey @rbuckton, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build and an npm module you can use via |
For the failing tests in top 400:
|
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
The only other change I see we need to make here is a small nit in the test comment. The fix for |
Correction, |
@petamoriken If I'm reading this correctly I can use https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/162976/artifacts?artifactName=tgz&fileId=9B134F6B73EF0334DC56B90577381A1DBB6A4FF614ECEFC5830AD3185B92A0C602&fileName=/typescript-5.6.0-insiders.20240723.tgz right now if I'm only concerned about resizable |
@guest271314 This PR has not yet been merged so probably is not available yet. |
I'd hoped to get this in before the 5.6 beta cutoff, but it looks like there are some long-term concerns related to |
I should be able to fork your code, build |
Yes, you can just use the following in your {
"devDependencies": {
"typescript": "npm:@typescript-deploys/pr-build@5.6.0-pr-58573-19"
}
} |
without a Is there a "latest" or "nightly" URL? |
@DanielRosenwasser Got this working in Deno reading this https://docs.deno.com/runtime/manual/advanced/typescript/types/#using-ambient-or-global-types. Thanks.
or path
|
Blocked by #59417 |
What we might want to do is to extract the interface changes for |
Fixes #54636
Past PRs #54637, #57858
Refs denoland/deno#19191, denoland/deno#24238
This PR includes the following changes:
Introduce ES2024 target
Atomics.waitAsync
types from ES2022 to ES2024Fix some types
ArrayBuffer.prototype.slice
types in ES5SharedArrayBuffer.prototype.slice
types in ES2017ArrayBuffer
/SharedArrayBuffer
constructor types to ES2017