Files
FrenoCorp/node_modules/@trpc/client/dist/httpLink.d-CjpPCq4q.d.mts
Michael Freno 7c684a42cc FRE-600: Fix code review blockers
- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-25 00:08:01 -04:00

23 lines
931 B
TypeScript

import { HTTPHeaders, Operation, TRPCLink } from "./types.d-CAr6snH0.mjs";
import { HTTPLinkBaseOptions } from "./httpUtils.d-C5t5to0D.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-CjpPCq4q.d.mts.map