跳转到内容

parseProfileCapture

此内容尚不支持你的语言。

parseProfileCapture(text): { capture: ProfileCapture; } | { error: string; }

Defined in: app/profileCapture.ts:153

Read a capture from JSON, or say what is wrong with it. Returns a refusal rather than throwing so a UI can show the reason: a file picked by hand is the one input guaranteed to sometimes be the wrong file.

string

{ capture: ProfileCapture; } | { error: string; }