mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
socket.io: Merge namespace with exported value (#24261)
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user