API reference / @evolu/common / Result / InferOk
Type Alias: InferOk<R>
type InferOk<R> = R extends Ok<infer T> ? T : never;
Defined in: packages/common/src/Result.ts:393
Extracts the value type from a Result.
Type Parameters
| Type Parameter |
|---|
R extends Result<any, any> |