SIGN IN SIGN UP
socketio / socket.io UNCLAIMED

Realtime application framework (Node.JS server)

0 0 0 TypeScript

fix(typings): fix the type of the "query" option (#1439)

Having type `Object` it was not possible to set values, e.g.:

```ts
if (!this.socket.io.opts.query) {
  this.socket.io.opts.query = {};
}
this.socket.io.opts.query.token = 'abc123';
```

Results in error:

> Element implicitly has an 'any' type because expression of type '"token"' can't be used to index type 'Object'.
M
Mick Lawitzke committed
f02ab3bc9626133dd35aad0916325f0c7fc4da5d
Parent: be81a2c
Committed by Damien Arrachequesne <damien.arrachequesne@gmail.com> on 2/2/2021, 10:26:33 AM