Added missing dependencies (#36886)

* Updated @feathersjs/socket-commons

* Fixed linting errors.

* Added type definitions for hook-less service methods.

* Revert "Added type definitions for hook-less service methods."

This reverts commit 14e8062a57f68b7c338ee092fb3e5cfea9e6f226.

See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/34684

* Improved service typings.

* Fixed tests.

* Fixed lint.

* Fixed typo.

* fix: Handle multiple dependent keys

* Updated header

* fix lint errors

* fix lint errors

* Added SOCKET_KEY export.

* Updated header.

* Removed unecessary imports.

* Added missing dependencies.
This commit is contained in:
Desmond Koh 2019-07-16 06:24:16 +08:00 committed by Andrew Branch
parent 72325b0b3d
commit 689921213e
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -5,6 +5,7 @@
// Definitions: https://github.com/feathersjs-ecosystem/feathers-typescript
// TypeScript Version: 2.8
/// <reference types="feathersjs__socket-commons"/>
import * as io from 'socket.io';
declare const socketio: FeathersSocketIO;