Type Alias: ResultError<R>
ResultError<
R
>:R
extendsResult
<any
, infer E> ?E
:never
Utility type to extract the type of the error from a Result type.
Type Parameters
Type Parameter |
---|
R |
ResultError<
R
>:R
extendsResult
<any
, infer E> ?E
:never
Utility type to extract the type of the error from a Result type.
Type Parameter |
---|
R |