1 | import http from 'http';
|
2 | import io from 'socket.io';
|
3 |
|
4 | declare const socketio: FeathersSocketIO;
|
5 | export = socketio;
|
6 |
|
7 | interface FeathersSocketIO {
|
8 | (callback?: (io: io.Server) => void): (app: any) => void;
|
9 | (options: number | io.ServerOptions, callback?: (io: io.Server) => void): (app: any) => void;
|
10 | (port: number, options?: io.ServerOptions, callback?: (io: io.Server) => void): (app: any) => void;
|
11 | default: FeathersSocketIO;
|
12 | }
|