Commit Graph

38 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
Paul van Brenk
5607f54def Merge master into typings-2.0
* Changed Files
2016-08-18 14:53:30 -07:00
CodeAnimal
906c566047 Remove commented out code
Remove the code commented out.

- Update the "usage" method documentation to apply to the `matches`
method rather than the `regex` method.
2016-08-18 19:23:38 +01:00
Mohamed Hegazy
be3445bb83 Add missing express dependencies 2016-07-21 10:43:08 -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
CodeAnimal
10bc473fe5 Add return type to isWhitelisted method. 2016-05-12 22:44:39 +01:00
CodeAnimal
396e37eb8b Remove ambient semicolon 2016-05-12 22:38:26 +01:00
CodeAnimal
4e00b9e8dc Update to version 2.20.4
Update methods from node-validator
(https://github.com/chriso/validator.js) and update express-validator
methods to adhere to the latest api.
2016-05-12 22:24:49 +01:00
Ryan Cavanaugh
e105eabd48 Remove invalid references 2016-05-10 16:27:59 -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
Ryan Cavanaugh
f841c2423f Remove references to 'express' 2016-04-27 10:24:01 -07:00
Matthias
38d211956d Add toDate() sanitizer (#8871) 2016-04-12 21:52:33 +09: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
Cyril Schumacher
b8c618001c Update definition for "express-validator": add "isMACAddress" function. 2015-12-09 10:42:31 +01:00
Sobit Akhmedov
e8ac76dbcf add optional() method to Validator interface 2015-06-02 19:03:21 +02:00
Eric Byers
573cd80b1c Fixing formatting, using express.Request since it is now extended properly 2015-04-29 12:24:00 -05:00
Eric Byers
07c9cecd7d Merging in master, fixing conflicts 2015-04-29 11:10:18 -05:00
Jacob Danton
7fa5d15cb2 Fixing implicit type in test 2015-04-21 09:00:26 -07:00
Jacob Danton
a00d3573ce Fixing spelling error 2015-04-21 08:49:26 -07:00
Jacob Danton
e3dba2f282 Updating express-validator definitions and adding tests. 2015-04-21 08:46:14 -07:00
Eric Byers
72fece2722 Adding basic express-validator-tests 2015-04-16 11:06:23 -05:00
Eric Byers
ca99daff70 Return valid array type for validationErrors 2015-04-15 17:16:24 -05:00
Eric Byers
93f4df8e1a Fix validationErrors parameters to have optional mapErrors parameters 2015-04-15 17:13:29 -05:00
Eric Byers
b76b01450a Split external and internal modules apart, add additional RequestValidation functions, extend Express Request to include RequestValidation. 2015-04-15 16:52:31 -05:00
Jonathan Häberle
a90450655f Added dependency to express 2014-08-06 14:16:51 +02:00
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
Bartvds
03eecbb681 added/fixed headers e-i
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 00:19:24 +01:00
Nathan Ridley
b19cc410bc Create express-validator.d.ts 2013-09-24 23:26:45 +01:00