InferErr
InferErr<T>
Extracts Err
values from any combination of results, including asynchronous ones:
ts
// boolean | string
type Example = InferErr<Err<boolean> | Result<string, string>>;