- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/socket.io/dist/parent-namespace.d.ts
r59329aa re29cc2e 1 1 import { Namespace } from "./namespace"; 2 2 import type { Server } from "./index"; 3 export declare class ParentNamespace extends Namespace { 3 import type { EventParams, EventNames, EventsMap, DefaultEventsMap } from "./typed-events"; 4 export declare class ParentNamespace<ListenEvents extends EventsMap = DefaultEventsMap, EmitEvents extends EventsMap = ListenEvents, ServerSideEvents extends EventsMap = DefaultEventsMap, SocketData = any> extends Namespace<ListenEvents, EmitEvents, ServerSideEvents, SocketData> { 4 5 private static count; 5 6 private children; 6 constructor(server: Server );7 constructor(server: Server<ListenEvents, EmitEvents, ServerSideEvents, SocketData>); 7 8 /** 8 9 * @private 9 10 */ 10 11 _initAdapter(): void; 11 emit (ev: string | Symbol, ...args: [...any]): true;12 createChild(name: string): Namespace ;12 emit<Ev extends EventNames<EmitEvents>>(ev: Ev, ...args: EventParams<EmitEvents, Ev>): boolean; 13 createChild(name: string): Namespace<ListenEvents, EmitEvents, ServerSideEvents, SocketData>; 13 14 }
Note:
See TracChangeset
for help on using the changeset viewer.