Microsoft/TypeScript
Change type of `File` constructor parameter `fileBits` to `Iterable<BlobPart>`
Aperta
#57.520 aperta il 24 feb 2024
BugDomain: lib.d.tsHelp Wanted
Metriche repository
- Star
- (108.860 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
⚙ 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