Commit Graph

33 Commits

Author SHA1 Message Date
Daniel Herman
a0326f82e3 Add the headers property to the exported interface 2017-01-25 14:04:47 -05:00
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
Dmitry M. Lazutkin
7c39f88e1a 🐛 Correct ctor signature (which is accessed through indexer) (#13415) 2016-12-27 19:15:51 -05: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
Nathan Shively-Sanders
983c93531a Merge branch 'types-2.0' into types-merge-20161118 2016-11-21 16:16:59 -08:00
Mine Yalcinalp Starks
253e456e3c Merge remote-tracking branch 'upstream/master' into types-2.0
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00
zhengbli
2f4b18f28f stage changes to index.d.ts 2016-10-24 22:52:02 -07:00
zhengbli
5a5ababe92 Merge remote-tracking branch 'origin/master' into zhengbli_merge 2016-10-24 22:48:38 -07:00
Derrick Liu
8b73f40dc9 http-errors: add 421 constructor and make sure all constructors can take optional messages (#11927)
* Add optional msg parameter to all constructors, add 421 constructor

* Add tests for updating to 1.5.0 and adding custom messages
2016-10-19 21:18:34 +09:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -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
Cao, Jiannan
1f418be731 declare Express in ambient environment 2016-07-12 01:23:42 +08:00
Cao, Jiannan
49a98e0443 add comment line 2016-07-12 00:02:46 +08:00
Cao, Jiannan
dcd4fb55fa move req.user to http-errors-tests.d.ts 2016-07-11 23:36:44 +08:00
Cao, Jiannan
a591dbfa8e add user to http-errors.d.ts 2016-07-11 23:16:06 +08:00
Cao Jiannan
6245fffb18 optional user 2016-07-11 22:57:51 +08:00
Cao Jiannan
cb4960033f add user to Request for http-errors
req.user should be declared by developer.
2016-07-11 22:57:27 +08: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
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
f841c2423f Remove references to 'express' 2016-04-27 10:24:01 -07:00
Ryan Cavanaugh
4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07: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
e16ce4a79a export HttpError thanks to a namespace 2015-12-19 03:25:03 +01:00
Tanguy Krotoff
7e47928c4d Switch to "import * as": more standard way to do 2015-12-18 19:49:13 +01:00
Tanguy Krotoff
715bd098cb Add definitions for http-errors (https://github.com/jshttp/http-errors) 2015-07-03 13:31:15 +02:00