Microsoft/TypeScript
View on GitHubChange type of `File` constructor parameter `fileBits` to `Iterable<BlobPart>`
Open
#57,520 opened on Feb 24, 2024
BugDomain: lib.d.tsHelp Wanted
Repository metrics
- Stars
- (48,455 stars)
- PR merge metrics
- (Avg merge 6d 17h) (9 merged PRs in 30d)
Description
⚙ 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