UEA-Prodem
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
import { HTTPHeaders, Operation, TRPCLink } from "./types.d-sRNtuQA-.mjs";
|
||||
import { HTTPLinkBaseOptions } from "./httpUtils.d-yYSKGhiS.mjs";
|
||||
import { AnyClientTypes, AnyRouter } from "@trpc/server/unstable-core-do-not-import";
|
||||
|
||||
//#region src/links/httpLink.d.ts
|
||||
type HTTPLinkOptions<TRoot extends AnyClientTypes> = HTTPLinkBaseOptions<TRoot> & {
|
||||
/**
|
||||
* Headers to be set on outgoing requests or a callback that of said headers
|
||||
* @see http://trpc.io/docs/client/headers
|
||||
*/
|
||||
headers?: HTTPHeaders | ((opts: {
|
||||
op: Operation;
|
||||
}) => HTTPHeaders | Promise<HTTPHeaders>);
|
||||
};
|
||||
/**
|
||||
* @see https://trpc.io/docs/client/links/httpLink
|
||||
*/
|
||||
declare function httpLink<TRouter extends AnyRouter = AnyRouter>(opts: HTTPLinkOptions<TRouter['_def']['_config']['$types']>): TRPCLink<TRouter>;
|
||||
//# sourceMappingURL=httpLink.d.ts.map
|
||||
|
||||
//#endregion
|
||||
export { HTTPLinkOptions, httpLink };
|
||||
//# sourceMappingURL=httpLink.d-CVOTlkUT.d.mts.map
|
||||
Reference in New Issue
Block a user