Commit Graph

46 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
zhengbli
5a5ababe92 Merge remote-tracking branch 'origin/master' into zhengbli_merge 2016-10-24 22:48:38 -07:00
Cain Cresswell-Miley
befa2dae51 add when.reduce, when.reduceRight, and when.map typings (#11894) 2016-10-12 21:57:24 +09: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
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
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
Jared Klopper
cfc3e22a3d Allow nodeFn.apply to accept an IArguments in addition to arrays 2015-11-03 12:56:46 +13:00
Michael Nahkies
2af0f2eaf4 Added definition and test for when.unfold 2015-10-23 14:49:02 +13:00
Michael Nahkies
8d071a6ee3 Add definition and test for when.iterate 2015-09-03 12:00:45 +12:00
drinchev
93f6359ec9 when.d.ts - add ability to return primitive from catch callback 2015-06-27 10:42:30 +02:00
Masahiro Wakame
25a2b0a03b Merge pull request #4602 from mnahkies/when-settle
when.js - Add definition with test for when.settle, add a test for when.all
2015-06-27 13:29:17 +09:00
Michael Nahkies
097dc2e2ba Add definition with tests for spread 2015-06-10 17:01:55 +12:00
Michael Nahkies
eb5f7c2d2a Add definition with test for when.settle, add a test for when.all 2015-06-10 16:38:16 +12:00
Wim Looman
892d67aa03 Use helper interfaces and unions to define variadic functions up to 5 arguments 2015-01-22 16:46:16 +13:00
Wim Looman
484aff0c24 Use disparate types to more constrain impl 2015-01-22 15:47:50 +13:00
Wim Looman
0527215077 Increase test coverage of when
Checks all variations of up to 3 argument versions of variadic functions
along with the 5 argument version. Should ensure implementation is
pretty close to required.
2015-01-22 15:39:03 +13:00
Wim Looman
defde8d095 Add when/node definitions 2014-12-15 20:53:14 +13:00
vvakame
6bfc669a73 fix travis-ci error 2014-12-08 02:11:14 +09:00
Wim Looman
499e68a1fe Add myself to the contributors for when 2014-12-07 18:37:03 +13:00
Wim Looman
aa5d16d071 Add when.Promise members 2014-12-06 12:29:44 +13:00
Wim Looman
11f556cc22 Add overloads for when's members 2014-12-06 12:29:44 +13:00
Wim Looman
afce6f14e4 Add when(x, f) overloads 2014-12-06 12:29:44 +13:00
Wim Looman
d72601e320 Add when(x) overloads 2014-12-06 12:29:44 +13:00
Wim Looman
0adc6614cb Add tests for when's Core and Promises API 2014-12-06 12:29:43 +13:00
Masahiro Wakame
e543091212 Merge pull request #3240 from Nemo157/when-catch-filter
Add in lambda filtered catches for when's promises
2014-12-05 03:36:44 +09:00
Wim Looman
efb0ee0e4f Change Boolean to boolean 2014-12-04 08:42:11 +13:00
Wim Looman
b4de422678 Add exception type filter using any 2014-12-04 08:40:44 +13:00
Wim Looman
101e3405fb Export when as an ambient external declaration 2014-11-28 20:27:13 +13:00
Wim Looman
cc7b89066e Add in lambda filtered catches 2014-11-28 10:18:05 +13:00
pkaul
0e7474da9e Enabling 'when.d.ts' to be also usable as an external module so that is can be included like 'import When = require(../when/when);' 2014-03-16 18:06:16 +01:00
Masahiro Wakame
30001c0201 Merge pull request #1598 from derekcicerone/patch-34
Add missing error-handling methods
2014-01-27 17:44:03 -08:00
Bartvds
d436daf4c2 added/fixed headers t-z
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 02:59:02 +01:00
Derek Cicerone
6aa70b2cc5 Add missing error-handling methods
* also added the inspect method (https://github.com/cujojs/when/blob/master/docs/api.md#inspect)
2014-01-23 15:13:41 -05:00
ashwinr
5a1317725c Update when.d.ts 2013-12-12 17:09:36 -05:00
Derek Cicerone
8183240157 Create when.d.ts 2013-09-27 14:09:10 -04:00