KC's Workspace
Github
Preparing search index...
@kcws/actkits
z
_default
Function _default
_default
<
T
extends
z
.
core
.
SomeType
>
(
innerType
:
T
,
defaultValue
:
|
NoUndefined
<
z
.
core
.
output
<
T
>
>
|
(
()
=>
NoUndefined
<
z
.
core
.
output
<
T
>
>
)
,
)
:
z
.
ZodDefault
<
T
>
Type Parameters
T
extends
z
.
core
.
SomeType
Parameters
innerType
:
T
defaultValue
:
NoUndefined
<
z
.
core
.
output
<
T
>
>
|
(
()
=>
NoUndefined
<
z
.
core
.
output
<
T
>
>
)
Returns
z
.
ZodDefault
<
T
>
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
Github
KC's Workspace
Loading...