Skip to content

Missing the AbortSignal.any() function #58026

Closed

Description

⚙ Compilation target

ES2015

⚙ Library

dom.d.ts

Missing / Incorrect Definition

The following commit microsoft/TypeScript-DOM-lib-generator@bea9dde 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

Activity

  1. Teamop commented on May 10, 2024

    @Teamop

    looks like done in #58211, and released in 5.5.0-beta

  2. MartinJohns commented on Dec 5, 2024

    @MartinJohns
    Contributor

    Ryan Cavanaugh (@RyanCavanaugh) FYI this issue can be closed.

    Related: #60695

  3. RyanCavanaugh commented on Sep 19, 2026

    @RyanCavanaugh
    Member

    AbortSignal.any was added by #58211. The original AbortSignal.any([]) example reports TS2339 in 5.4.5 and compiles cleanly in 5.5.0-beta, 6.0.3, and current native TypeScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions