Microsoft/TypeScript
在 GitHub 查看Change type of `File` constructor parameter `fileBits` to `Iterable<BlobPart>`
Open
#57,520 建立於 2024年2月24日
BugDomain: lib.d.tsHelp Wanted
倉庫指標
- Star
- (48,455 star)
- PR 合併指標
- (平均合併 6天 17小時) (30 天內合併 9 個 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