Closed superbarne closed 7 years ago
it should be: declare function socketio(connections:any, options?:any):Function; right? https://github.com/feathersjs/feathers-socketio/blob/master/client.d.ts#L3
Because it returns a Function: https://github.com/superbarne/feathers-socketio/blob/master/src/client.js#L18
Sounds about right. If you submit a PR with the fix we can get a patch out right away.
@daffl done
Closed via #64
Steps to reproduce
it should be: declare function socketio(connections:any, options?:any):Function; right? https://github.com/feathersjs/feathers-socketio/blob/master/client.d.ts#L3
Expected behavior
Because it returns a Function: https://github.com/superbarne/feathers-socketio/blob/master/src/client.js#L18