SafeSuccess
type SafeSuccess<T> = { ok: true; value: T;};Defined in: safe.ts:26
Success branch: same payload the throwing API would return for the same inputs.
Type Parameters
Seção intitulada “Type Parameters”| Type Parameter |
|---|
T |
Properties
Seção intitulada “Properties”ok: true;Defined in: safe.ts:26
value: T;Defined in: safe.ts:26