ts-repo-utils
Preparing search index...
functions/create-result-assert
CreateResultAssertOptions
Type Alias CreateResultAssertOptions<Config, Ok, Err>
CreateResultAssertOptions
:
Readonly
<
{
exitCode
?:
number
;
onError
?:
(
error
:
Err
,
config
:
Config
)
=>
void
|
Promise
<
void
>
;
onSuccess
?:
(
value
:
Ok
,
config
:
Config
)
=>
void
|
Promise
<
void
>
;
run
:
ResultProducer
<
Config
,
Ok
,
Err
>
;
}
,
>
Type Parameters
Config
Ok
Err
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ts-repo-utils
Loading...