KC's Workspace
Github
Preparing search index...
@kcws/actkits
z
keyof
Function keyof
keyof
<
T
extends
z
.
ZodObject
<
$ZodLooseShape
,
$strip
>
>
(
schema
:
T
,
)
:
z
.
ZodEnum
<
{
[
k
in
string
|
number
]
:
{
[
k
in
string
|
number
]
:
k
}
[
k
]
}
>
Type Parameters
T
extends
z
.
ZodObject
<
$ZodLooseShape
,
$strip
>
Parameters
schema
:
T
Returns
z
.
ZodEnum
<
{
[
k
in
string
|
number
]
:
{
[
k
in
string
|
number
]
:
k
}
[
k
]
}
>
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
Github
KC's Workspace
Loading...