mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
@feathersjs/feathers + @feathersjs/socketio: Minor fixes (#23822)
* [@feathersjs] add @feathersjs/socket-commons import to @feathersjs/socketio and @feathersjs/primus packages * [@feathersjs] fix ts version in @feathersjs/socketio and @feathersjs/primus packages * [@feathersjs] really fix ts version in @feathersjs/socketio and @feathersjs/primus packages * add express reexports * @feathersjs/feathers: add generic default type to `Application` interface @feathersjs/feathers: make Params.paginate optional @feathersjs/socketio: make callback optional * change Hook return type from undefined to void * Update index.d.ts * disable tslint rule 'void-return' for specific callback * Update index.d.ts * Update index.d.ts
This commit is contained in:
+1
-1
@@ -7,6 +7,6 @@
|
||||
/// <reference types="socket.io" />
|
||||
/// <reference types="feathersjs__socket-commons"/>
|
||||
|
||||
export default function feathersSocketIO(callback: (io: SocketIO.Server) => void): () => void;
|
||||
export default function feathersSocketIO(callback?: (io: SocketIO.Server) => void): () => void;
|
||||
export default function feathersSocketIO(options: number | SocketIO.ServerOptions, callback?: (io: SocketIO.Server) => void): () => void;
|
||||
export default function feathersSocketIO(port: number, options?: SocketIO.ServerOptions, callback?: (io: SocketIO.Server) => void): () => void;
|
||||
|
||||
Reference in New Issue
Block a user