@webroute/clientFunctions
createTypedClient
createTypedClient<
TApp>(): <TConfig>(config) =>TypedClient<TApp,TConfig["fetcher"]>
Type Parameters
| Type Parameter |
|---|
TApp extends AppDef |
Returns
Function
Type Parameters
| Type Parameter |
|---|
TConfig extends CreateTypedClientOpts<any, any> |
Parameters
| Parameter | Type |
|---|---|
config | TConfig |
Returns
TypedClient<TApp, TConfig["fetcher"]>
