Skip to main content
Version: 11.x

Type Alias: TRPCFetch()

TRPCFetch: (url, options?) => Promise<ResponseEsque>

The default fetch implementation has an overloaded signature. By convention this library only uses the overload taking a string and options object.

Parameters

ParameterType
urlstring
options?RequestInit

Returns

Promise<ResponseEsque>

Defined in

packages/client/dist/links/types.d.ts:34