Merge branch 'master' into rename-repo-url

This commit is contained in:
vvakame
2016-03-17 21:06:54 +09:00
1140 changed files with 179704 additions and 179635 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ Q.nbind(kitty.find, kitty)({ cute: true }).done((kitties: any[]) => {});
/*
* Test: Can "rethrow" rejected promises
*/
module TestCanRethrowRejectedPromises {
namespace TestCanRethrowRejectedPromises {
interface Foo {
a: number;
Vendored
+2 -2
View File
@@ -13,7 +13,7 @@ declare function Q<T>(promise: Q.IPromise<T>): Q.Promise<T>;
*/
declare function Q<T>(value: T): Q.Promise<T>;
declare module Q {
declare namespace Q {
interface IPromise<T> {
then<U>(onFulfill?: (value: T) => U | IPromise<U>, onReject?: (error: any) => U | IPromise<U>): IPromise<U>;
}
@@ -206,7 +206,7 @@ declare module Q {
* Returns a promise that is fulfilled with an array containing the fulfillment value of each promise, or is rejected with the same rejection reason as the first promise to be rejected.
*/
export function all<T>(promises: IPromise<T>[]): Promise<T[]>;
/**
* Returns a promise for the first of an array of promises to become settled.
*/