Microsoft/TypeScript

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

Open

#57.520 aberto em 24 de fev. de 2024

Ver no GitHub
 (0 comments) (1 reaction) (0 assignees)TypeScript (6.726 forks)batch import
BugDomain: lib.d.tsHelp Wanted

Métricas do repositório

Stars
 (48.455 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (9 fundiu PRs em 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

Guia do colaborador