@kaynooo/utils
Preparing search index...
builder/endpoint
EndpointArgs
Type Alias EndpointArgs<EndpointsConst, T, CustomTypes>
EndpointArgs
:
HasKeys
<
ResolveParams
<
EndpointsConst
[
T
]
,
CustomTypes
[
T
]
extends
Record
<
string
,
any
>
?
CustomTypes
[
T
]
:
{}
,
>
,
>
extends
true
?
[
T
,
ResolveParams
<
EndpointsConst
[
T
]
,
CustomTypes
[
T
]
extends
Record
<
string
,
any
>
?
CustomTypes
[
T
]
:
{}
,
>
,
]
:
[
T
]
|
[
T
,
undefined
]
Type Parameters
EndpointsConst
extends
Record
<
Key
,
string
>
T
extends
keyof
EndpointsConst
CustomTypes
extends
PartialRecord
<
keyof
EndpointsConst
,
Record
<
string
,
any
>
>
=
{}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@kaynooo/utils
Loading...