microsoft / TypeScript

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

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

Open atlowChemi opened 5 months ago

atlowChemi commented 5 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 4 months ago

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