trpc-sveltekit
Version:
SvelteKit adapter for tRPC.io, working with Node.js, Vercel and Netlify
6 lines (5 loc) • 374 B
TypeScript
import type { Server } from 'ws';
export declare const GlobalThisWSS: unique symbol;
export declare function onHttpServerUpgrade(req: any, sock: any, head: any): void;
export declare function createWSSGlobalInstance(): Server<typeof import("ws"), typeof import("http").IncomingMessage>;
export declare function SvelteKitTRPCWSServer(import_meta_url: string): Promise<void>;