socket.io: Merge namespace with exported value (#24261)

This commit is contained in:
Andy
2018-03-14 10:10:41 -07:00
committed by GitHub
parent d474aca764
commit 52bde4982f
6 changed files with 9 additions and 22 deletions
+1 -1
View File
@@ -4,8 +4,8 @@
// Definitions: https://github.com/feathersjs-ecosystem/feathers-typescript
// TypeScript Version: 2.3
/// <reference types="socket.io" />
/// <reference types="feathersjs__socket-commons"/>
import SocketIO = require("socket.io");
export default function feathersSocketIO(callback?: (io: SocketIO.Server) => void): () => void;
export default function feathersSocketIO(options: number | SocketIO.ServerOptions, callback?: (io: SocketIO.Server) => void): () => void;