Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add optional type for file candidate data
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.
- Loading branch information