Preparing search index...
The search index is not available
@team-plain/typescript-sdk
@team-plain/typescript-sdk
<internal>
ZodDefaultDef
Interface ZodDefaultDef<T>
interface
ZodDefaultDef
<
T
>
{
defaultValue
:
(
(
)
=>
noUndefined
<
T
[
"_input"
]
>
)
;
description
?:
string
;
errorMap
?:
ZodErrorMap
;
innerType
:
T
;
typeName
:
ZodDefault
;
}
Type Parameters
T
extends
ZodTypeAny
=
ZodTypeAny
Hierarchy (
view full
)
ZodTypeDef
ZodDefaultDef
Index
Properties
default
Value
description?
error
Map?
inner
Type
type
Name
Properties
default
Value
default
Value
:
(
(
)
=>
noUndefined
<
T
[
"_input"
]
>
)
Type declaration
(
)
:
noUndefined
<
T
[
"_input"
]
>
Returns
noUndefined
<
T
[
"_input"
]
>
Optional
description
description
?:
string
Optional
error
Map
error
Map
?:
ZodErrorMap
inner
Type
inner
Type
:
T
type
Name
type
Name
:
ZodDefault
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
default
Value
description
error
Map
inner
Type
type
Name
@team-plain/typescript-sdk
Loading...
Generated using
TypeDoc