bupkis
API
Assertions
Preparing search index...
bupkis
z
core
toJSONSchema
Function toJSONSchema
toJSONSchema
(
schema
:
z
.
core
.
$ZodType
,
_params
?:
ToJSONSchemaParams
,
)
:
z
.
core
.
JSONSchema
.
JSONSchema
Parameters
schema
:
z
.
core
.
$ZodType
Optional
_params
:
ToJSONSchemaParams
Returns
z
.
core
.
JSONSchema
.
JSONSchema
toJSONSchema
(
registry
:
$ZodRegistry
<
{
id
?:
string
}
>
,
_params
?:
RegistryToJSONSchemaParams
,
)
:
{
schemas
:
Record
<
string
,
BaseSchema
>
}
Parameters
registry
:
$ZodRegistry
<
{
id
?:
string
}
>
Optional
_params
:
RegistryToJSONSchemaParams
Returns
{
schemas
:
Record
<
string
,
BaseSchema
>
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
bupkis
Loading...