BUPKIS
API
Assertions
Preparing search index...
bupkis
z
core
$ZodDefaultDef
Interface $ZodDefaultDef<T>
interface
$ZodDefaultDef
<
T
extends
SomeType
=
z
.
core
.
$ZodType
>
{
checks
?:
z
.
core
.
$ZodCheck
<
never
>
[]
;
defaultValue
:
NoUndefined
<
z
.
core
.
output
<
T
>
>
;
error
?:
$ZodErrorMap
<
never
>
;
innerType
:
T
;
type
:
"default"
;
}
Type Parameters
T
extends
SomeType
=
z
.
core
.
$ZodType
Hierarchy (
View Summary
)
$ZodTypeDef
$ZodDefaultDef
Index
Properties
checks?
default
Value
error?
inner
Type
type
Properties
Optional
checks
checks
?:
z
.
core
.
$ZodCheck
<
never
>
[]
default
Value
defaultValue
:
NoUndefined
<
z
.
core
.
output
<
T
>
>
The default value. May be a getter.
Optional
error
error
?:
$ZodErrorMap
<
never
>
inner
Type
innerType
:
T
type
type
:
"default"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
checks
default
Value
error
inner
Type
type
API
Assertions
GitHub
npm
BUPKIS
Loading...
The default value. May be a getter.