PAPI Docs
PAPI NPMJS
PAPI Repo
Preparing search index...
The search index is not available
@studiokeywi/papi
@studiokeywi/papi
caller
ConvertSlugs
Type alias ConvertSlugs<Root>
Convert
Slugs
<
Root
>
:
{
[
Key
in
keyof
Root
as
Key
extends
$Slug
?
string
|
number
:
never
]
:
Key
extends
$Slug
?
SubPAPI
<
Root
[
Key
]
>
:
never
}
Utility type that converts slug portions of an
PAPIBuilder
into usable subdefinitions
Type Parameters
Root
extends
APIDefBase
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
PAPI Docs
PAPI NPMJS
PAPI Repo
@studiokeywi/papi
Loading...
Utility type that converts slug portions of an PAPIBuilder into usable subdefinitions