Microsoft/TypeScript

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

Open

#57,520 opened on 2024年2月24日

GitHub で見る
 (0 comments) (1 reaction) (0 assignees)TypeScript (6,726 forks)batch import
BugDomain: lib.d.tsHelp Wanted

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (平均マージ 6d 17h) (30d で 9 merged PRs)

説明

⚙ 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

コントリビューターガイド