bupkis
API
Assertions
Preparing search index...
bupkis
z
core
_coercedDate
Function _coercedDate
_coercedDate
<
T
extends
z
.
core
.
$ZodDate
<
unknown
>
>
(
Class
:
SchemaClass
<
T
>
,
params
?:
|
string
|
{
error
?:
string
|
$ZodErrorMap
<
$ZodIssueInvalidType
<
unknown
>
>
;
message
?:
string
;
}
,
)
:
T
Type Parameters
T
extends
z
.
core
.
$ZodDate
<
unknown
>
Parameters
Class
:
SchemaClass
<
T
>
Optional
params
:
|
string
|
{
error
?:
string
|
$ZodErrorMap
<
$ZodIssueInvalidType
<
unknown
>
>
;
message
?:
string
;
}
string
{
error
?:
string
|
$ZodErrorMap
<
$ZodIssueInvalidType
<
unknown
>
>
;
message
?:
string
;
}
Optional
error
?:
string
|
$ZodErrorMap
<
$ZodIssueInvalidType
<
unknown
>
>
Optional
message
?:
string
Deprecated
This parameter is deprecated. Use
error
instead.
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
bupkis
Loading...
Deprecated
This parameter is deprecated. Use
error
instead.