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