Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
9
Frontend-Learner/node_modules/vite-dev-rpc/dist/index.d.ts
generated
vendored
Normal file
9
Frontend-Learner/node_modules/vite-dev-rpc/dist/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import * as birpc from 'birpc';
|
||||
import { EventOptions, BirpcOptions } from 'birpc';
|
||||
import { WebSocketServer } from 'vite';
|
||||
import { ViteHotContext } from 'vite-hot-client';
|
||||
|
||||
declare function createRPCServer<ClientFunction extends object, ServerFunctions extends object>(name: string, ws: WebSocketServer, functions: ServerFunctions, options?: EventOptions<ClientFunction>): birpc.BirpcGroupReturn<ClientFunction>;
|
||||
declare function createRPCClient<ServerFunctions extends object, ClientFunctions extends object>(name: string, hot: ViteHotContext | undefined | Promise<ViteHotContext | undefined>, functions?: ClientFunctions, options?: Omit<BirpcOptions<ServerFunctions>, 'on' | 'post'>): birpc.BirpcReturn<ServerFunctions, ClientFunctions>;
|
||||
|
||||
export { createRPCClient, createRPCServer };
|
||||
Loading…
Add table
Add a link
Reference in a new issue