Commit Graph

59 Commits

Author SHA1 Message Date
vvakame
59fa100d05 refactor q/Q.d.ts 2015-08-17 23:53:58 +09:00
Panu Horsmalahti
3eb67c9e82 Better type inference for the spread function. 2015-08-17 14:55:21 +03:00
Marc Sallin
d0e842e2f9 Q: Support for the Q.noConflict() method. 2015-06-25 00:21:40 +02:00
Florent Chiron
c969d6275c Add signature for promise.tap(onFulfilled) 2015-05-01 03:30:41 +02:00
falsandtru
1dc67b231b Fix type definition 2015-03-07 17:01:00 +09:00
John Reilly
44116c6b31 Replace overloads with union types 2015-01-29 11:46:35 +00:00
John Reilly
8d8c0f3a0c Merge pull request #3537 from mikaturunen/master
Q.try update and reasoning
2015-01-28 15:39:55 +00:00
Mika Turunen
d04ad93621 Q.try update and reasoning 2015-01-26 10:30:02 +02:00
Masahiro Wakame
09b2e08616 Merge pull request #3070 from d-ph/fail-precedence-bug
Fix .fail<> generic precedence bug and missing generic on .reject()
2014-11-29 13:44:09 +09:00
jbblanchet
9320265200 Remove jQuery reference 2014-11-24 18:42:52 -05:00
jbblanchet
c85918d0e8 Add test for new when signature 2014-11-24 18:37:56 -05:00
jbblanchet
456388ff73 Add when signature for Promise<void> 2014-11-24 17:43:17 -05:00
Sébastien De Saint Florent
17df178729 Update Q.d.ts with optional onRejected parameter
Spread method does not require onRejected param.
From Q documentation:
function eventualAdd(a, b) {
    return Q.spread([a, b], function (a, b) {
        return a + b;
    })
}
2014-11-03 17:08:23 -05:00
d-ph
9cbb16d81e Fix .fail<> generic precedence bug and missing generic on .reject() 2014-11-01 10:57:08 +00:00
David Morgantini
ca4d1a714c upgrade to q v 1.0.1 2014-10-27 21:10:53 +00:00
cristian-harja
2c861a8a1d Silly mistake in pull request #2643 2014-08-29 10:38:29 +02:00
Masahiro Wakame
15ea6ac80c Merge pull request #2643 from cristian-harja/patch-1
missing Promise.nodeify() added
2014-08-29 17:22:55 +09:00
VILIC VANE
ad0059764a add Q.delay(ms: number) 2014-08-08 12:50:34 +08:00
cristian-harja
86c0c56e6e missing Promise.nodeify() added 2014-08-07 18:24:18 +03:00
Jonathan Häberle
12fba7b626 missing npost() function added 2014-08-02 20:29:45 +02:00
Michel Salib
66ee214290 Adding Q.nbind function 2014-06-25 10:34:25 +02:00
Bart van der Schoor
3d64ea7395 added missing urls to some authors
fixed node urls
2014-06-18 23:31:35 +02:00
vvakame
e9be9177f6 remove not required .tscparams 2014-06-12 18:36:47 +09:00
Michel Salib
48a2c18384 Adding denodeify definition for Q 2014-06-10 16:43:12 +02:00
Panu Horsmalahti
da3fcf9a85 Update Q-tests.ts
Add tests for Q.nfapply and Q.nfcall.
2014-03-29 12:45:09 +02:00
Panu Horsmalahti
1503788c8d Update Q.d.ts
Add nfapply defintion.

See API reference here: https://github.com/kriskowal/q/wiki/API-Reference
2014-03-27 13:09:09 +02:00
John Reilly
40e8f2f181 Q: Some JSDoc goodness
Created based on https://github.com/kriskowal/q/wiki/API-Reference
2014-03-24 16:55:35 +00:00
johnnyreilly
6ab7831306 Q: Fixed up test with help from @IgorBek 2013-12-23 09:54:50 +00:00
johnnyreilly
9014c6fb94 Q: change overload order fixes tests 2013-12-21 15:47:34 +00:00
John Reilly
d0c2d93cc0 Q: updated test to reflect 2013-11-26 17:48:45 +00:00
John Reilly
fa6f389191 Q:jQueryPromise converted implicitly to Q promise 2013-11-26 17:39:54 +00:00
Basarat Ali Syed
1edc17e458 Merge pull request #1291 from RemcoBlok/patch-2
add thenResolve and thenReject utility methods
2013-11-19 20:10:20 -08:00
Remco Blok
5b87b20764 add thenResolve and thenReject utility methods 2013-11-19 12:55:45 +00:00
Remco Blok
1e70b8d290 fix Q.onerror spelling mistake and missing parameter
Q.onerror was spelled Q.oneerror with two e's. It was also missing the reason parameter.
2013-11-19 12:39:09 +00:00
Masahiro Wakame
1b28c3344b Removed not required .tscparams 2013-11-19 13:56:28 +09:00
John Simon
69935860d7 Add any types to everything in Q.d.ts so it works with --noImplicitAny 2013-10-22 11:35:10 -04:00
vvakame
34899afaae Merge commit '2772dfeec9cdb1744f6c010babef9e40b6770dd7' into plan-of-destroy-implicitAny 2013-10-18 12:41:53 +09:00
Sean Clark Hess
e97c31c8fd Q: reversed the order of function overrides to put promises first for nested promises 2013-10-10 15:37:18 -06: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
anchann
eacef69706 Q: adding inspect() method, changing return type of getSettled
As per documentation:
https://github.com/kriskowal/q/wiki/API-Reference#promiseallsettled
https://github.com/kriskowal/q/wiki/API-Reference#promiseinspect
2013-08-16 07:42:33 +09:00
Boris Yankov
ea15619251 Replace multiple 'module' keywords with 'require' 2013-08-07 18:26:38 +03:00
Andrew Gaspar
284f4a629a Minor fixes for issue #726 2013-07-05 01:06:47 -07:00
Andrew Gaspar
85eabfe63b Added typings to jQuery promises and deferreds. 2013-07-03 01:36:17 -07:00
Andrew Gaspar
bccbbdaa83 Added progress handlers to Q.when 2013-07-03 00:33:25 -07:00
Andrew Gaspar
6fb97f40bf Added types all over the place in Q 2013-07-03 00:24:15 -07:00
Andrew Gaspar
7463b00681 Made Q have better generics support made possible be v0.9.0.1. Also eliminated redundant function definitions in express. 2013-06-30 17:59:21 -07:00
Andrew Gaspar
41c216fb10 Changed bool to boolean for q.d.ts 2013-06-20 22:25:55 -07:00
Andrew Gaspar
d4b888e50f Slight update to q.d.ts to reflect current limitations in TypeScript. 2013-06-20 22:06:09 -07:00
Andrew Gaspar
91a4452e37 Removed separate q module tests and updated with some addition typing information for Q.d.ts. 2013-06-20 22:03:23 -07:00