diff --git a/types/feathersjs__socketio/feathersjs__socketio-tests.ts b/types/feathersjs__socketio/feathersjs__socketio-tests.ts index e40ec10897..3715b0b3b2 100644 --- a/types/feathersjs__socketio/feathersjs__socketio-tests.ts +++ b/types/feathersjs__socketio/feathersjs__socketio-tests.ts @@ -9,4 +9,7 @@ app.configure(feathersSocketIO({}, io => {})); app.configure(feathersSocketIO(1337, io => {})); app.configure(feathersSocketIO(1337, {}, io => {})); +app.channel(''); +app.publish('', () => undefined); + const key = SOCKET_KEY; diff --git a/types/feathersjs__socketio/index.d.ts b/types/feathersjs__socketio/index.d.ts index 67fca942ad..38e0dc8d3e 100644 --- a/types/feathersjs__socketio/index.d.ts +++ b/types/feathersjs__socketio/index.d.ts @@ -5,6 +5,7 @@ // Definitions: https://github.com/feathersjs-ecosystem/feathers-typescript // TypeScript Version: 2.8 +/// import * as io from 'socket.io'; declare const socketio: FeathersSocketIO;