Commit Graph

84 Commits

Author SHA1 Message Date
Pascal Martin
33ac73d1f4 Make timeout info param optional (#14034)
Add support for timeout with AsyncResulIterator
Add support for queue with AsyncResullIterator
2017-01-18 10:23:09 -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
76a710cc94 Rename test files to be consistent (#13882) 2017-01-10 06:33:06 -08:00
Andy
2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -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
Elias Winberg
50b94f140d Fix definitions for 'mapValues', 'mapValuesLimit', 'mapValuesSeries' 2016-12-11 18:42:47 +01:00
Nathan Shively-Sanders
2f92400b50 More fixes to adjust to released compiler 2016-11-22 08:58:23 -08:00
Nathan Shively-Sanders
983c93531a Merge branch 'types-2.0' into types-merge-20161118 2016-11-21 16:16:59 -08:00
Mine Yalcinalp Starks
253e456e3c Merge remote-tracking branch 'upstream/master' into types-2.0
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00
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
Kanchalai Tanglertsampan
2bac593bcf Fix build error from merging 2016-11-09 17:20:56 -08:00
Kanchalai Tanglertsampan
1200f753d6 Merge branch 'master' into types-2.0
# Conflicts:
#	.gitignore
#	ajv/ajv.d.ts
#	angular-material/angular-material.d.ts
#	angular-protractor/angular-protractor.d.ts
#	angularjs/angular-tests.ts
#	angularjs/angular.d.ts
#	aws-sdk/aws-sdk.d.ts
#	electron-devtools-installer/electron-devtools-installer-tests.ts
#	electron-json-storage/electron-json-storage-tests.ts
#	electron-notifications/electron-notifications.d.ts
#	electron-notify/electron-notify.d.ts
#	electron-window-state/electron-window-state.d.ts
#	electron/electron-prebuilt.d.ts
#	enzyme/enzyme.d.ts
#	eventemitter3/eventemitter3-tests.ts
#	eventemitter3/eventemitter3.d.ts
#	graphql/graphql.d.ts
#	highcharts/highcharts.d.ts
#	immutable/immutable.d.ts
#	inquirer/inquirer.d.ts
#	jasmine/jasmine.d.ts
#	joi/joi.d.ts
#	jquery.dataTables/jquery.dataTables-tests.ts
#	jquery.dataTables/jquery.dataTables.d.ts
#	kafka-node/kafka-node.d.ts
#	kefir/kefir.d.ts
#	kendo-ui/kendo-ui.d.ts
#	koa/koa.d.ts
#	leaflet/leaflet.d.ts
#	lodash/lodash.d.ts
#	mapbox-gl/mapbox-gl.d.ts
#	material-ui/material-ui.d.ts
#	menubar/menubar.d.ts
#	mongodb/mongodb.d.ts
#	needle/needle-tests.ts
#	needle/needle.d.ts
#	noble/noble.d.ts
#	node/node.d.ts
#	pegjs/pegjs.d.ts
#	pixi.js/pixi.js.d.ts
#	polymer/polymer.d.ts
#	quill/quill-tests.ts
#	quill/quill.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-fa/react-fa-tests.tsx
#	react-fa/react-fa.d.ts
#	react-native/react-native.d.ts
#	react-select/react-select.d.ts
#	react/react.d.ts
#	threejs/three-vrcontrols.d.ts
#	threejs/three-vreffect.d.ts
#	toastr/toastr.d.ts
#	validator/validator.d.ts
#	webpack/webpack.d.ts
#	winston/winston.d.ts
2016-11-09 17:20:41 -08: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
Mohamed Hegazy
13dec92fd9 Fix failing tests after https://github.com/Microsoft/TypeScript/pull/11263 (#11835)
* Fix fialing tests after https://github.com/Microsoft/TypeScript/pull/11263

* Fix more failures
2016-10-07 14:41:25 -07:00
Mine Yalcinalp Starks
29e75d32e1 Merge remote-tracking branch 'upstream/master' into types2.0-fix 2016-08-05 17:32:30 -07:00
Erik Krogh Kristensen
7802515457 Updating async to v2.0.1. 2016-08-04 13:33:11 +02:00
Ryan Cavanaugh
ede3f0a99c Merge commit 'upstream/master~550' into merge_7_25 2016-07-26 11:29:27 -07:00
Ryan Cavanaugh
5d004be8ba Merge commit 'upstream/master~600' into merge_7_25 2016-07-26 00:22:12 -07:00
Ryan Cavanaugh
347311a5f0 Partial merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-25 14:26:20 -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
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
Ryan Cavanaugh
612c172c52 Use correct test list 2016-05-10 12:28:03 -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
81862d240d More fixes 2016-05-04 22:50:05 -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
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
Ryan Cavanaugh
dc851736af Delete unused tscparams 2016-04-27 20:42:33 -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
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