Type alias SafeResult<TInput, TOutput>

SafeResult<TInput, TOutput>: {
    data: TOutput;
    error: undefined;
} | {
    data: undefined;
    error: ActionError<TInput>;
}

Type Parameters

Type declaration

Type declaration