Marking gapi.client.request body param as any

The gapi.js library will JSON.stringify the body param to send it over the wire.
This commit is contained in:
Brett Morgan
2014-05-22 10:14:11 +10:00
parent 14cc5e58a6
commit 4bf4af9962
+1 -1
View File
@@ -99,7 +99,7 @@ declare module gapi.client {
/**
* The HTTP request body (applies to PUT or POST).
*/
body?: string;
body?: any;
/**
* If supplied, the request is executed immediately and no gapi.client.HttpRequest object is returned
*/