Skip to main content
Version: 10.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 >

Source

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


Generated using TypeDoc and typedoc-plugin-markdown