Skip to main content
Version: 11.x

Type Alias: TRPCFetch()

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

Defined in: packages/client/dist/types-CAPs7vhA.d.mts:143

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>