feathers-socketio
Version:
The Feathers Socket.io real-time API provider
21 lines (14 loc) • 387 B
TypeScript
import 'socket.io';
type FeatherSocketCallback =
(io: any) => void;
type FeathersSockeOptions =
number |
SocketIO.ServerOptions |
FeatherSocketCallback;
declare function feathersSocketIO(
port?: FeathersSockeOptions,
options?: FeathersSockeOptions,
config?: FeathersSockeOptions
): () => void;
declare namespace feathersSocketIO {}
export = feathersSocketIO;