Skip to content

MountFileResult

Copy as Markdown

MountFileResult<S> = { error?: undefined; player: Player<S>; } | { error: FileError; player?: undefined; }

What mountFile resolves to: { player }, the mounted player, or { error } (the root left as it was). Exactly one of the two is set.

S extends string = string