@snailicide/g-library
Preparing search index...
index
zodHelpers
wrapSchema
Variable wrapSchema
wrapSchema
:
<
Schema
extends
ZodType
<
any
,
ZodTypeDef
,
any
>
>
(
schema
:
Schema
,
)
=>
Schema
Type declaration
<
Schema
extends
ZodType
<
any
,
ZodTypeDef
,
any
>
>
(
schema
:
Schema
)
:
Schema
So that it doesnt lose its schema typing after a transform or merge function
Type Parameters
Schema
extends
ZodType
<
any
,
ZodTypeDef
,
any
>
Parameters
schema
:
Schema
Returns
Schema
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@snailicide/g-library
Loading...
So that it doesnt lose its schema typing after a transform or merge function