-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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'.
- Loading branch information
1 parent
be81a2c
commit f02ab3b
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters