TRPCFetch
Function
Type declaration
The default fetch implementation has an overloaded signature. By convention this library
only uses the overload taking a string and options object.
Signature
ts(url: string, options?: RequestInit): Promise<ResponseEsque>;
ts(url: string, options?: RequestInit): Promise<ResponseEsque>;
Parameters
| Name | Type |
|---|---|
url | string |
options? | RequestInit |
Returns
Promise<ResponseEsque>
Defined in: packages/client/dist/links/types.d.ts:39