Where we know the type of content to be imported ahead of time (e.g. a Uint8Array or a stream, not both), it can be helpful to specify that type, so make FileCandidate generic to allow this.
Defaults it to the previous ImportContent value so this is non-breaking.
Where we know the type of content to be imported ahead of time (e.g. a Uint8Array or a stream, not both), it can be helpful to specify that type, so make
FileCandidate
generic to allow this.Defaults it to the previous
ImportContent
value so this is non-breaking.