Microsoft/TypeScript
Change type of `File` constructor parameter `fileBits` to `Iterable<BlobPart>`
开放
#57,520 创建于 2024年2月24日
BugDomain: lib.d.tsHelp Wanted
仓库指标
- 星标
- (108,860 个星标)
- PR 合并指标
- (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