bupkis
API
Assertions
Preparing search index...
bupkis
z
object
Function object
object
<
T
extends
$ZodLooseShape
=
Partial
<
Record
<
never
,
SomeType
>
>
>
(
shape
?:
T
,
params
?:
|
string
|
{
error
?:
|
string
|
$ZodErrorMap
<
NonNullable
<
$ZodIssueInvalidType
<
unknown
>
|
$ZodIssueUnrecognizedKeys
,
>
,
>
;
message
?:
string
;
}
,
)
:
z
.
ZodObject
<
{
-
readonly
[
P
in
string
|
number
|
symbol
]
:
T
[
P
]
}
,
$strip
>
Type Parameters
T
extends
$ZodLooseShape
=
Partial
<
Record
<
never
,
SomeType
>
>
Parameters
Optional
shape
:
T
Optional
params
:
|
string
|
{
error
?:
|
string
|
$ZodErrorMap
<
NonNullable
<
$ZodIssueInvalidType
<
unknown
>
|
$ZodIssueUnrecognizedKeys
>
,
>
;
message
?:
string
;
}
string
{
error
?:
|
string
|
$ZodErrorMap
<
NonNullable
<
$ZodIssueInvalidType
<
unknown
>
|
$ZodIssueUnrecognizedKeys
>
,
>
;
message
?:
string
;
}
Optional
error
?:
|
string
|
$ZodErrorMap
<
NonNullable
<
$ZodIssueInvalidType
<
unknown
>
|
$ZodIssueUnrecognizedKeys
>
,
>
Optional
message
?:
string
Deprecated
This parameter is deprecated. Use
error
instead.
Returns
z
.
ZodObject
<
{
-
readonly
[
P
in
string
|
number
|
symbol
]
:
T
[
P
]
}
,
$strip
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
bupkis
Loading...
Deprecated
This parameter is deprecated. Use
error
instead.