From 4bf4af996293d378ffad1508f489c85135af7802 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Thu, 22 May 2014 10:14:11 +1000 Subject: [PATCH] Marking gapi.client.request body param as any The gapi.js library will JSON.stringify the body param to send it over the wire. --- gapi/gapi.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gapi/gapi.d.ts b/gapi/gapi.d.ts index 2202e1ec99..8a9206663e 100644 --- a/gapi/gapi.d.ts +++ b/gapi/gapi.d.ts @@ -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 */