Commit Graph

45 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
Ethan Resnick
1c80f69f6e superagent: Fix callback signature
Error can be an error object or null at least (and possibly some other
values, like undefined, though those aren’t documented). There was
already a test with error being null, but it was passing only because
strictNullChecks were off. Now that strictNullChecks are on, this must
be changed.
2016-11-24 02:47:40 -08:00
Ethan Resnick
e6e18740a5 superagent: Enable strictNullChecks 2016-11-24 02:47:32 -08:00
James Power
44db89c20b Update index.d.ts
The definition is missing an unset method found in superagent here https://github.com/visionmedia/superagent/blob/master/lib/request-base.js
2016-10-11 12:21:58 +01:00
Andy Hanson
b02b9903cc Merge commit 'origin/master~100' into merge_21sep 2016-09-21 08:13:15 -07:00
Ben Mosher
f105740dce superagent: updates for feedback on #11055 2016-09-12 08:45:01 -04:00
Ben Mosher
6a01265ff6 superagent: req.responseType, res.xhr 2016-09-06 10:34:08 -04:00
Nathan Shively-Sanders
14fb8ef536 Merge branch 'master' into types-2.0-2016-08-12 2016-08-12 14:53:54 -07:00
Oliver Joseph Ash
247c4be0b7 superagent typings: make buffer parameter optional 2016-08-11 09:54:15 +01:00
Nathan Shively-Sanders
15c9fdbdf1 Merge branch 'master' into types-2.0 2016-08-09 15:41:20 -07:00
Nathan Shively-Sanders
3af530d9ff Merge pull request #10420 from SPARTAN563/update/superagent
fix: Enable the use of the parse() method for superagent
2016-08-09 14:15:49 -07:00
Mine Yalcinalp Starks
29e75d32e1 Merge remote-tracking branch 'upstream/master' into types2.0-fix 2016-08-05 17:32:30 -07:00
Jan-Pieter Zoutewelle
199acf46b3 Superagent request inherits Promise<Response> 2016-08-02 18:40:24 +02:00
Benjamin Pannell
fe2f0deec1
fix: Enable the use of the parse() method for superagent 2016-08-02 13:36:59 +02:00
Jan-Pieter Zoutewelle
a37c56193e Added the .then Promise return for superagent 2016-07-28 17:54:39 +02:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Cao Jiannan
c7bae3970a widen supertest-as-promised promise usable (#10070) 2016-07-24 00:05:41 -07: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
bc5bd4bb7f Remove extra blank lines 2016-05-04 14:23:04 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
fa204a87d1 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Ryan Cavanaugh
337587de8c Rename external modules to index.d.ts 2016-04-27 21:30:22 -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
Ryan Cavanaugh
4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -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
Tanguy Krotoff
b30dbc4dd3 Update SuperAgent to version 1.4.0
- Callback now always takes 2 arguments, see https://github.com/visionmedia/superagent/commit/e440274
- Add Request.use()
- Improve tests
2015-11-24 11:25:05 +01:00
Adam Babcock
e40d4a62f5 Add empty send() method for superagent 2015-08-08 15:40:29 -05:00
Horiuchi_H
eb7a5d4127 add delete method 2015-06-03 10:31:30 +09:00
Horiuchi_H
e263035131 update suparagent and supertest type definitions 2015-02-17 16:48:40 +09:00
Horiuchi_H
5559466c54 update typefiles 2014-11-04 19:08:20 +09:00
Paul Loyd
25a3c76b44 node: move Node* to NodeJS module 2014-04-28 18:32:37 +02:00
Paul Loyd
c52e7bdf63 node: now modules depend on stream.* when possible 2014-04-28 18:32:37 +02:00
Paul Loyd
1d451a05e1 node: NodeBuffer -> Buffer. Mark NodeBuffer as deprecated 2014-04-28 18:32:36 +02:00
John Purcell
ab5886b01f Expose agent on supertest and cookie methods on superagent 2014-03-19 13:03:19 -04:00
Alex Varju
87768603b0 change property types from 'Object' to 'any' so that their anonymous contents can be inspected, add missing 'files' property 2013-09-11 13:56:15 -07:00
Alex Varju
edd97d5bd5 Add superagent and supertest definitions 2013-09-05 15:44:29 -07:00