Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/socket.io/dist/parent-namespace.d.ts

    r59329aa re29cc2e  
    11import { Namespace } from "./namespace";
    22import type { Server } from "./index";
    3 export declare class ParentNamespace extends Namespace {
     3import type { EventParams, EventNames, EventsMap, DefaultEventsMap } from "./typed-events";
     4export declare class ParentNamespace<ListenEvents extends EventsMap = DefaultEventsMap, EmitEvents extends EventsMap = ListenEvents, ServerSideEvents extends EventsMap = DefaultEventsMap, SocketData = any> extends Namespace<ListenEvents, EmitEvents, ServerSideEvents, SocketData> {
    45    private static count;
    56    private children;
    6     constructor(server: Server);
     7    constructor(server: Server<ListenEvents, EmitEvents, ServerSideEvents, SocketData>);
    78    /**
    89     * @private
    910     */
    1011    _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>;
    1314}
Note: See TracChangeset for help on using the changeset viewer.