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

贡献者指南