mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Using {} instead of Object in IWebSocket#send
This commit is contained in:
+1
-1
@@ -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>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user