Skip to content

Tankōbon / shared/comic / OpenComicResult

Type Alias: OpenComicResult ​

OpenComicResult = { comic: ComicInfo; status: "ok"; } | { message: string; status: "error"; }

Defined in: shared/comic.ts:32

What comic:open resolves to: the opened comic, or a message (in the interface language) saying why the file could not be opened (moved or deleted, unsupported, corrupted…).