Commit Graph

33 Commits

Author SHA1 Message Date
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Andy
cd4debea25 Remove BOM character from the start of files (#12838) 2016-11-28 10:40:45 -08:00
Nathan Shively-Sanders
c6c61b2213 Merge remote-tracking branch 'origin/master' into types-merge-20161122 2016-11-22 15:08:50 -08:00
Brian Michalski
947c9afb55 Move gapi.client.request options to an interface. (#12835) 2016-11-21 18:00:47 -08:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
henriquefm
491ca65466 Update gapi.d.ts (#8944)
Adding the optional url param to gapi.client.load
2016-04-13 00:38:22 +09:00
Kohei Hisakuni
95d827df4b Make callback required 2016-03-29 20:45:22 -07:00
Kohei Hisakuni
234ca8dab0 Add overloaded method. 2016-03-27 20:44:17 -07:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Borys H.N
efb64c7cc3 update gapi.d.ts
Remove duplicate module gapi.
2016-03-05 10:50:37 -06:00
Borys Niewiadomski
9521bd0249 adding gapi.load(...) 2016-02-29 13:27:57 -06:00
Daniel Chao
882139ded1 Add an authuser paramter
http://stackoverflow.com/questions/13366254/is-it-possible-to-be-able-to-correctly-select-any-available-google-account-to-us
2015-08-05 17:38:47 -07:00
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