Commit Graph

27 Commits

Author SHA1 Message Date
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