-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the latest version .. emit message error #1439
Comments
Solution: json2 (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) When browser does not support JSON.stringify () method will automatically add the method. |
This was referenced Apr 26, 2021
This was referenced May 4, 2021
darrachequesne
pushed a commit
that referenced
this issue
Jul 4, 2024
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'.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MSIE 7.0 Socket.io.js ,In the first 7380 line:
// json data
if (null != obj.data) {
if (nsp) str += ',';
str += json.stringify(obj.data);
}
json.stringify undefined ...
socket.io can not receiving the message from the server (the server pushed)
thank u...
The text was updated successfully, but these errors were encountered: