jamespot-user-api
Preparing search index...
inferMaybeWithToken
Function inferMaybeWithToken
inferMaybeWithToken
<
T
extends
ZodType
<
any
,
ZodTypeDef
,
any
>
>
(
type
:
T
,
)
:
ZodIntersection
<
T
,
ZodObject
<
{
token
:
ZodOptional
<
ZodUnion
<
[
ZodString
,
ZodUndefined
]
>
>
}
,
"strip"
,
ZodTypeAny
,
{
token
?:
string
}
,
{
token
?:
string
}
,
>
,
>
Type Parameters
T
extends
ZodType
<
any
,
ZodTypeDef
,
any
>
Parameters
type
:
T
Returns
ZodIntersection
<
T
,
ZodObject
<
{
token
:
ZodOptional
<
ZodUnion
<
[
ZodString
,
ZodUndefined
]
>
>
}
,
"strip"
,
ZodTypeAny
,
{
token
?:
string
}
,
{
token
?:
string
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
jamespot-user-api
Loading...