KC's Workspace
Github
Preparing search index...
@kcws/actkits
z
parseAsync
Variable parseAsync
Const
parseAsync
:
<
T
extends
z
.
core
.
$ZodType
>
(
schema
:
T
,
value
:
unknown
,
_ctx
?:
ParseContext
<
$ZodIssue
>
,
_params
?:
{
callee
?:
AnyFunc
;
Err
?:
$ZodErrorClass
}
,
)
=>
Promise
<
z
.
core
.
output
<
T
>
>
Type Declaration
<
T
extends
z
.
core
.
$ZodType
>
(
schema
:
T
,
value
:
unknown
,
_ctx
?:
ParseContext
<
$ZodIssue
>
,
_params
?:
{
callee
?:
AnyFunc
;
Err
?:
$ZodErrorClass
}
,
)
:
Promise
<
z
.
core
.
output
<
T
>
>
Type Parameters
T
extends
z
.
core
.
$ZodType
Parameters
schema
:
T
value
:
unknown
Optional
_ctx
:
ParseContext
<
$ZodIssue
>
Optional
_params
:
{
callee
?:
AnyFunc
;
Err
?:
$ZodErrorClass
}
Returns
Promise
<
z
.
core
.
output
<
T
>
>
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
Github
KC's Workspace
Loading...