Using {} instead of Object in IWebSocket#send

This commit is contained in:
Nick Veys
2016-06-24 14:56:49 -05:00
parent e4c947b56a
commit e1f0a41047
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -81,6 +81,6 @@ declare namespace angular.websocket {
*
* @param data data to send, if this is an object, it will be stringified before sending
*/
send(data: string | Object): ng.IPromise<any>;
send(data: string | {}): ng.IPromise<any>;
}
}