Commit Graph
25 Commits
Author SHA1 Message Date
pgonzal 98b47fbc86 Fix z-schema module definition and add SchemaErrorDetail (#14005)
* Fix module declaration so that helper interfaces are usable again

* Introduce SchemaErrorDetail since getLastError() and getLastErrors() return two distinct types; add documentation

* Fix unit tests, add explicit type declarations

* Transferred project ownership from Adam

* Eliminated ambient external module by making Validator into a merged class and namespace
2017-01-19 09:30:59 -08: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
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
Ryan Cavanaugh b9245fba39 Merge commit 'upstream/master~350' into merge_7_25 2016-07-26 17:24:39 -07:00
Ryan Cavanaugh e94e9a8630 Merge commit 'upstream/master~450' into merge_7_25 2016-07-26 13:40:56 -07:00
Ryan Cavanaugh 5d004be8ba Merge commit 'upstream/master~600' into merge_7_25 2016-07-26 00:22:12 -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
k7sleeper 9f19feb70d added JSDoc comment 2016-06-22 10:44:06 +02:00
Raghav Katyal c17b1b78b8 OldUMD and many other module fixes. 2016-06-20 14:15:13 -07:00
k7sleeper b86d3040e3 Merge branch 'master' of https://github.com/k7sleeper/DefinitelyTyped into fix-z-schema
# Conflicts:
#	z-schema/z-schema.d.ts
2016-06-20 14:21:46 +02:00
k7sleeper 4ccbc96192 Added JSDoc 2016-06-20 14:11:15 +02:00
Klaus Sevensleeper 2bffb329a0 add 4 missing functions (#9666)
added functions registerFormat, unregisterFormat, getRegisteredFormats,
getDefaultOptions
2016-06-19 11:24:06 +09:00
k7sleeper a3b9360f8d add 4 missing functions
added functions registerFormat, unregisterFormat, getRegisteredFormats,
getDefaultOptions
2016-06-15 14:02:39 +02:00
Dhananjay Balan e8377d3d50 Improve z-schema.d.ts (#9427)
- add `validateSchema` function to the definitions.
2016-05-26 22:45:38 +09:00
Ryan Cavanaugh bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -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
vvakame 14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
Adam Meadows 363e73e7ef Added z-schema project 2015-11-16 04:32:08 -08:00