Commit Graph

8 Commits

Author SHA1 Message Date
Daniel Rosenwasser
2bb28caad6 Merge pull request #19024 from mboudreau/master
q.reject parameter is optional
2017-08-22 11:08:45 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Michel Boudreau
a820554d15 q.reject parameter is optional 2017-08-16 21:37:46 +10:00
Eric Wieser
4331ee51ba Add Q.Promise.all, the member function (#18308) 2017-07-27 06:49:34 -07:00
Michel Boudreau
9ecdd3cbcb Updating Q to have optional resolves (#18200)
* Remove export as namespace

This particular file was causing me issues with the new typings-2.0 since it doesn't support exporting namespaces from within modules.

* Updating Q to have optional resolves, adding tslint file, fixing tests compilation

* forgot to merge in latest from upstream, replicated the changes into new folder structure

* adding tslint to q

* latest changes to please tslint, but is currently breaking the .all tests - still need to fix

* fixing the reason why the tests was failing, a problem with Typescript trying to decipher the signature of arrays within function arguments that are unionized, updating tslint to ignore those issues

* whoops, messed up header which failed linting
2017-07-23 18:15:25 -07:00
Nathan Shively-Sanders
019645c0d1 Q: use PromiseLike and fix Q.all type inference
1. Q's IPromise changes to become the standard PromiseLike in order to fix
assignability in TS 2.4, which is more strict.
2. Q.all splits into more overloads in order to fix type parameter
inference in TS 2.4, which is more strict.
2017-06-27 13:00:17 -07:00
Leonard Thieu
1c3565933c :( 2017-06-13 13:00:42 -04:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00