Hugo Leclerc
d5913e497b
Adding error types in explicit calls of async-tests
2016-11-10 09:50:36 +01:00
Hugo Leclerc
88a6a82c69
Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped
...
Actual changes concern type of `err` that can be of any type (async only needs to convert them to boolean)
2016-11-10 09:34:28 +01:00
Fenying
0ad4edb4e8
Improvement to definitions of module async. ( #12180 )
...
* Updated module async.
1. Added Dictionary for the collection APIs.
2. Fixed incorrected callback definition for some collection APIs.
* Simplify some definitions of module async.
* Fixed the callback type of async.someLimit.
2016-11-01 21:25:56 +09:00
Hugo Leclerc
d82038ed3d
async: in callbacks args, err can be of any type, not necessarily Error (or string as seen before) => use of a generic type. Remove path.exist from async-test + use of node.d.ts to get the exact content of the fs module.
2016-10-11 17:39:26 +02:00
Hugo Leclerc
72e05196c1
cont mod signature async.[all,every,any,some...] (Error,boolean for the second callback)
2016-10-11 16:03:28 +02:00
Hugo Leclerc
103654a0f1
modification of signature of async.[any,all,every,...] which actually works with a second callback of type (Error,boolean)=>void (async version 2.0.1)
2016-10-11 15:44:33 +02:00
Erik Krogh Kristensen
7802515457
Updating async to v2.0.1.
2016-08-04 13:33:11 +02:00
Steve Van Opstal
2901b0c3c4
caolan/async: add missing optional type to 'retry' ( #9506 )
...
* async: add function type to interval of 'retry'
* fix return type number
2016-06-03 00:26:29 +09:00
Finn Poppinga
d98b8d6cbf
async.d.ts AsyncForEachOfIterator key type fix ( #9469 )
...
the key can be either a string (in case of objects) or a number (in case of arrays).
2016-06-02 23:20:58 +09:00
cedric lombardot
649cae3279
[Async] Detect signatures callback ( #9116 )
...
Fix signatures of detect callbacks to follow doc https://github.com/caolan/async#detect
2016-05-02 00:53:44 +09:00
cedric lombardot
8d4f60d532
[Async] Update filter signature ( #9123 )
...
Filter signature do not correspond to documentation https://github.com/caolan/async#filter
2016-05-02 00:53:22 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
jonathanfishbein1
441e0ac7ce
Change return type of compe and seq functions to Function from void
2016-03-12 22:43:29 -05:00
vvakame
4de74cb527
normalize line ending (CRLF -> LF)
2016-02-16 01:20:30 +09:00
Vincent de Lagabbe
a940132c96
key should not be an array
2015-10-17 11:11:43 +02:00
Vincent de Lagabbe
4442fe3853
Fix async.forEachFor signature
...
"key" should not be an array
2015-10-16 13:29:48 +02:00
Joe Herman
4862dcd46d
async: Remove error requirement in series, parallel.
2015-10-13 12:28:51 -04:00
Joe Herman
48b2588355
async: Corrected filter and reject definitions.
2015-10-13 12:01:32 -04:00
Fredrik Høisæther Rasch
91989d35b8
Merge remote-tracking branch 'upstream/master' into master
2015-10-08 09:56:22 +02:00
vvakame
2ee4111bae
fix async/asyncamd-tests.ts
2015-08-29 00:44:26 +09:00
Joe Herman
375b76186f
async: Corrected and updated to 1.4.2
2015-08-23 22:02:44 -04:00
Arseniy Maximov
2d0a04f068
Add forEachOf, forEachOfSeries, forEachOfLimit definitions
2015-06-16 20:28:16 +03:00
Christopher Brown
5ebf25ddbf
Fix async.waterfall signature (callback has variadic argument structure)
2015-06-10 13:12:36 -05:00
Jacob Danton
0524bff51f
Delete tsconfig.json
...
Accidentally committed
2015-04-19 09:45:06 -07:00
Jacob Danton
1f3834cb93
Updating async times and timesSeries definitions
2015-04-19 09:42:48 -07:00
vvakame
95d860879f
remove unused .tscparams
2015-03-15 23:36:05 +09:00
Vadim Ogievetsky
3552529f78
updated PR following review from @lukehoban and @chbrown
2015-02-03 21:16:00 -08:00
Vadim Ogievetsky
c3a688719e
fixed typing for async.parallel and co
2015-01-28 11:15:55 -08:00
Christopher Brown
cc534e6119
Fix async.d.ts each* signatures
...
Add generic ErrorCallback type
Rename AsyncIterator -> AsyncResultIterator
Add AsyncIterator as resultless iterator type
Rename AsyncMultipleResultsCallback -> AsyncResultsCallback
Rename AsyncSingleResultCallback -> AsyncResultCallback
2014-11-10 22:00:13 -06:00
Thomas Holmes
1f730d3262
Added interface for priorityQueue.
2014-10-07 22:53:51 +01:00
Mohamed Hegazy
2aaa293cb1
Remove quotes from response files
2014-09-02 14:53:39 -07:00
Joe Herman
4b232a1214
async: Corrected APIs from forEach* to each*
2014-08-06 12:47:48 -04:00
Jozef Izso
750cb6d14e
Updated async.queue definitions to v0.9.0
2014-07-07 23:39:32 +02:00
vvakame
e9be9177f6
remove not required .tscparams
2014-06-12 18:36:47 +09:00
Jozef Izso
f850214749
Added queue.push() method overload that accepts array of strongly typed objects.
2014-06-07 11:57:20 +02:00
Rogier Schouten
6cfdabc5b2
Bugfix in async.d.ts: error parameter in callbacks is listed as string but Error objects are put in.
2014-06-06 15:05:04 +02:00
Rogier Schouten
c054ffe0c5
Ensure async.d.ts compiles with --noImplicitAny
2014-06-02 10:01:24 +02:00
Boris Yankov
4085f85dc4
Merge pull request #1832 from sledorze/master
...
Take account of polymorphism into Async signatures - was really missing..
2014-03-24 01:35:43 +02:00
Dasa Paddock
ee22143b57
Add definitions for 'parallelLimit'.
...
Doc: https://github.com/caolan/async#parallellimittasks-limit-callback
2014-03-18 11:38:14 -07:00
Stéphane Le Dorze
ca93f092ed
fix memo type
2014-03-12 23:52:30 +01:00
Stéphane Le Dorze
fd156f5731
fix polymorphism in Async type signature (how the hell were people using it before??)
2014-03-12 23:46:36 +01:00
Igor Oleinikov
ef86830809
async: fixed errors in async-tests.ts related to switch on TS 0.9.5
2013-12-06 15:19:46 +04:00
Nick Howes
a88b933815
queue.push callback is optional
2013-10-21 14:04:09 +01:00
vvakame
2708bc05cd
Fixed tsc failed on Node.js v0.8.25
2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e
Fixed to CI test passing
2013-10-03 10:18:58 +09:00
Andrew Gaspar
1eab71a53a
Async with external module support.
2013-08-18 03:54:59 -05:00
Duncan Mak
9ccfc8fc6f
Fix the test to make it compile.
2013-06-20 14:22:51 -04:00
Duncan Mak
4d7a581f41
Include definition for 'times' and 'timesSeries'.
2013-06-20 14:22:51 -04:00
Duncan Mak
7efa6bbca5
Differentiate between single-result and multiple-results callbacks.
2013-06-20 14:22:50 -04:00
Duncan Mak
57c7e3c001
A first pass at removing 'any's with generic Ts.
2013-06-20 14:22:46 -04:00