Microsoft/TypeScript

Change type of `File` constructor parameter `fileBits` to `Iterable<BlobPart>`

Open

#57,520 创建于 2024年2月24日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)TypeScript (6,726 fork)batch import
BugDomain: lib.d.tsHelp Wanted

仓库指标

Star
 (48,455 star)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 9 个 PR)

描述

⚙ Compilation target

es2022

⚙ Library

es2022, dom

Missing / Incorrect Definition

type of the parameter fileBits of the File constructor.

Sample Code

new File((function * () { yield "a" })(), "name")

Documentation Link

https://developer.mozilla.org/en-US/docs/Web/API/File/File#filebits

贡献者指南