Microsoft/TypeScript

Missing the `AbortSignal.any()` function

Open

#58,026 建立於 2024年4月1日

在 GitHub 查看
 (2 留言) (11 反應) (0 負責人)TypeScript (6,726 fork)batch import
BugDomain: lib.d.tsHelp Wanted

倉庫指標

Star
 (48,455 star)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 9 個 PR)

描述

⚙ 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

貢獻者指南