UNPKG

@ihadeed/transport-commons

Version:

Shared functionality for websocket providers

13 lines (12 loc) 441 B
/// <reference types="node" /> import { EventEmitter } from "events"; import { Application } from '@ihadeed/feathers'; export declare const ROUTER: unique symbol; declare module '@ihadeed/feathers' { interface Application<ServiceTypes extends KeyValue = any> extends EventEmitter { lookup(path: string): { [key: string]: string; }; } } export declare const routing: () => (app: Application<any>) => void;