boundfetch
Preparing search index...
core/src
createClient
Function createClient
Creates a typed client from endpoint definitions and runtime options.
createClient
<
TMode
extends
ClientMode
=
"throw"
,
TEndpoints
extends
EndpointMap
=
EndpointMap
,
>
(
config
:
ClientConfig
<
TMode
,
TEndpoints
>
,
)
:
BoundFetchClient
<
TMode
,
TEndpoints
>
Type Parameters
TMode
extends
ClientMode
=
"throw"
TEndpoints
extends
EndpointMap
=
EndpointMap
Parameters
config
:
ClientConfig
<
TMode
,
TEndpoints
>
Returns
BoundFetchClient
<
TMode
,
TEndpoints
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
boundfetch
Loading...
Creates a typed client from endpoint definitions and runtime options.