Commit Graph

82 Commits

Author SHA1 Message Date
Ryan Cavanaugh
11d624e656 Merge commit 'upstream/master~500' into merge_7_25 2016-07-26 12:17:32 -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
Raghav Katyal
c17b1b78b8 OldUMD and many other module fixes. 2016-06-20 14:15:13 -07:00
Benjamin Fox
623f30ab19 Add overloads for all to support typed arrays (#9622)
Adds overloads for arrays of up to 6 elements, before
falling back to old behaviour.
2016-06-14 00:47:56 +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
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
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
eggers
3c728a34b0 Adding Promise.nearer definition (#9006) 2016-04-18 00:29:54 +09:00
Stephen Ierodiaconou
904e8f5cd2 A Q deferred can be resolved with a promise 2016-03-23 17:14:52 +00:00
Stephen Ierodiaconou
a3a365d929 Update Q tests to include fact deferred can be resolved with a value or promise
As per the Q docs "Note that a deferred can be resolved with a value or a promise. "
2016-03-23 17:14:10 +00:00
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
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Joseph Dotson
aae1368c8e passing a value to resolve should not be required in Q 2015-12-08 14:47:30 -05:00
Remo H. Jansen
53e93bf70a Added Q.race method.
This method was missing from the type definitions file.
2015-11-25 09:40:03 +00:00
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