UNPKG

@feathersjs/transport-commons

Version:

Shared functionality for websocket providers

22 lines (21 loc) 595 B
import { Application } from '@feathersjs/feathers'; import { Router } from './router'; declare module '@feathersjs/feathers/lib/declarations' { interface RouteLookup { service: Service; params: { [key: string]: any; }; } interface Application<Services, Settings> { routes: Router<{ service: Service; params?: { [key: string]: any; }; }>; lookup(path: string): RouteLookup; } } export * from './router'; export declare const routing: () => (app: Application) => void;