Preparing search index...
The search index is not available
Genkit JS API reference
Genkit JS API reference
genkit
/
z
strictObject
Function strictObject
strictObject
<
T
extends
ZodRawShape
>
(
shape
:
T
,
params
?:
RawCreateParams
,
)
:
ZodObject
<
T
,
"strict"
,
ZodTypeAny
,
{
[
k
in
string
|
number
|
symbol
]
:
addQuestionMarks
<
baseObjectOutputType
<
T
>
,
any
>
[
k
]
}
,
{
[
k_1
in
string
|
number
|
symbol
]
:
baseObjectInputType
<
T
>
[
k_1
]
}
,
>
Type Parameters
T
extends
ZodRawShape
Parameters
shape
:
T
Optional
params
:
RawCreateParams
Returns
ZodObject
<
T
,
"strict"
,
ZodTypeAny
,
{
[
k
in
string
|
number
|
symbol
]
:
addQuestionMarks
<
baseObjectOutputType
<
T
>
,
any
>
[
k
]
}
,
{
[
k_1
in
string
|
number
|
symbol
]
:
baseObjectInputType
<
T
>
[
k_1
]
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...