microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
101.23k stars 12.52k forks source link

Missing the `AbortSignal.any()` function #58026

Open atlowChemi opened 7 months ago

atlowChemi commented 7 months ago

⚙ Compilation target

ES2015

⚙ Library

dom.d.ts

Missing / Incorrect Definition

The following commit https://github.com/microsoft/TypeScript-DOM-lib-generator/commit/bea9dde85b32a9318f4ccc7731d1d03f6a1bbb99 added the AbortSignal.any static method to the TypeScript-DOM-lib-generator repo. These changes don't seem to have landed in dom.d.ts, would be great if they could be pulled in! 🙏🏽

Sample Code

AbortSignal.any([])

Documentation Link

https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static

Teamop commented 6 months ago

looks like done in https://github.com/microsoft/TypeScript/pull/58211, and released in 5.5.0-beta