Commit Graph

32 Commits

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