Commit Graph

10 Commits

Author SHA1 Message Date
Slavo Vojacek
043288c68e Update gapi.d.ts
I am using Google+ Sign-In on one of my applications and I needed to add a couple of definitions into this file.

The update is based on https://developers.google.com/+/web/signin/reference#javascript_api.
2015-05-22 17:23:41 +01:00
Brett Morgan
376e27131e Adding promises to GAPI 2014-08-20 10:22:05 +10:00
Brett Morgan
4bf4af9962 Marking gapi.client.request body param as any
The gapi.js library will JSON.stringify the body param to send it over the wire.
2014-05-22 10:14:11 +10:00
Brett Morgan
89990ad9e2 Making gapi.auth.authorize accept string|array
Per the docs[1] gapi.auth.authorize accepts a lone string, as well as an array of strings. From my limited testing the any type appears to accept both string and array of string.

1: https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiauthauthorize
2014-05-13 14:40:22 +10:00
Masahiro Wakame
dbc68718e1 Remove not required .tscparams 2013-11-29 15:25:31 +09:00
Václav Oborník
21f83910f5 Added void return types for some methods. It alows compile with --noImplicitAny flag. 2013-11-23 18:32:36 +01:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Diullei
3508bde7e6 fix - gapi test failure 2013-09-05 22:23:47 -03:00
sgtfrankieboy
f7450dcedb Google API TypeScript Definition Files
TypeScript Definition File for the Google API Client (gapi). Also
included are gapi.urlshortener, gapi.youtube, gapi.youtubeAnalytics. All
the Definition files have full JsDoc Support.
2013-07-07 01:50:15 +02:00