@types/bluebird
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -307,3 +307,3 @@ // ES6 model with generics overload was sourced and trans-multiplied from es6-promises.d.ts | ||
// TODO type inference from array-resolving promise? | ||
settle<U>(): Promise<Promise.Inspection<U>[]>; | ||
settle<U>(): Promise<Array<Promise.Inspection<U>>>; | ||
@@ -465,7 +465,7 @@ /** | ||
// promise of array with promises of value | ||
static all<R>(values: Promise.Thenable<Promise.Thenable<R>[]>): Promise<R[]>; | ||
static all<R>(values: Promise.Thenable<Array<Promise.Thenable<R>>>): Promise<R[]>; | ||
// promise of array with values | ||
static all<R>(values: Promise.Thenable<R[]>): Promise<R[]>; | ||
// array with promises of value | ||
static all<R>(values: Promise.Thenable<R>[]): Promise<R[]>; | ||
static all<R>(values: Array<Promise.Thenable<R>>): Promise<R[]>; | ||
// array with values | ||
@@ -493,9 +493,9 @@ static all<R>(values: R[]): Promise<R[]>; | ||
// promise of array with promises of value | ||
static settle<R>(values: Promise.Thenable<Promise.Thenable<R>[]>): Promise<Promise.Inspection<R>[]>; | ||
static settle<R>(values: Promise.Thenable<Array<Promise.Thenable<R>>>): Promise<Array<Promise.Inspection<R>>>; | ||
// promise of array with values | ||
static settle<R>(values: Promise.Thenable<R[]>): Promise<Promise.Inspection<R>[]>; | ||
static settle<R>(values: Promise.Thenable<R[]>): Promise<Array<Promise.Inspection<R>>>; | ||
// array with promises of value | ||
static settle<R>(values: Promise.Thenable<R>[]): Promise<Promise.Inspection<R>[]>; | ||
static settle<R>(values: Array<Promise.Thenable<R>>): Promise<Array<Promise.Inspection<R>>>; | ||
// array with values | ||
static settle<R>(values: R[]): Promise<Promise.Inspection<R>[]>; | ||
static settle<R>(values: R[]): Promise<Array<Promise.Inspection<R>>>; | ||
@@ -506,7 +506,7 @@ /** | ||
// promise of array with promises of value | ||
static any<R>(values: Promise.Thenable<Promise.Thenable<R>[]>): Promise<R>; | ||
static any<R>(values: Promise.Thenable<Array<Promise.Thenable<R>>>): Promise<R>; | ||
// promise of array with values | ||
static any<R>(values: Promise.Thenable<R[]>): Promise<R>; | ||
// array with promises of value | ||
static any<R>(values: Promise.Thenable<R>[]): Promise<R>; | ||
static any<R>(values: Array<Promise.Thenable<R>>): Promise<R>; | ||
// array with values | ||
@@ -521,7 +521,7 @@ static any<R>(values: R[]): Promise<R>; | ||
// promise of array with promises of value | ||
static race<R>(values: Promise.Thenable<Promise.Thenable<R>[]>): Promise<R>; | ||
static race<R>(values: Promise.Thenable<Array<Promise.Thenable<R>>>): Promise<R>; | ||
// promise of array with values | ||
static race<R>(values: Promise.Thenable<R[]>): Promise<R>; | ||
// array with promises of value | ||
static race<R>(values: Promise.Thenable<R>[]): Promise<R>; | ||
static race<R>(values: Array<Promise.Thenable<R>>): Promise<R>; | ||
// array with values | ||
@@ -538,7 +538,7 @@ static race<R>(values: R[]): Promise<R>; | ||
// promise of array with promises of value | ||
static some<R>(values: Promise.Thenable<Promise.Thenable<R>[]>, count: number): Promise<R[]>; | ||
static some<R>(values: Promise.Thenable<Array<Promise.Thenable<R>>>, count: number): Promise<R[]>; | ||
// promise of array with values | ||
static some<R>(values: Promise.Thenable<R[]>, count: number): Promise<R[]>; | ||
// array with promises of value | ||
static some<R>(values: Promise.Thenable<R>[], count: number): Promise<R[]>; | ||
static some<R>(values: Array<Promise.Thenable<R>>, count: number): Promise<R[]>; | ||
// array with values | ||
@@ -551,3 +551,3 @@ static some<R>(values: R[], count: number): Promise<R[]>; | ||
// variadic array with promises of value | ||
static join<R>(...values: Promise.Thenable<R>[]): Promise<R[]>; | ||
static join<R>(...values: Array<Promise.Thenable<R>>): Promise<R[]>; | ||
// variadic array with values | ||
@@ -565,7 +565,7 @@ static join<R>(...values: R[]): Promise<R[]>; | ||
static map<R, U>( | ||
values: Promise.Thenable<Promise.Thenable<R>[]>, | ||
values: Promise.Thenable<Array<Promise.Thenable<R>>>, | ||
mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable<U>, | ||
): Promise<U[]>; | ||
static map<R, U>( | ||
values: Promise.Thenable<Promise.Thenable<R>[]>, | ||
values: Promise.Thenable<Array<Promise.Thenable<R>>>, | ||
mapper: (item: R, index: number, arrayLength: number) => U, | ||
@@ -586,7 +586,7 @@ ): Promise<U[]>; | ||
static map<R, U>( | ||
values: Promise.Thenable<R>[], | ||
values: Array<Promise.Thenable<R>>, | ||
mapper: (item: R, index: number, arrayLength: number) => Promise.Thenable<U>, | ||
): Promise<U[]>; | ||
static map<R, U>( | ||
values: Promise.Thenable<R>[], | ||
values: Array<Promise.Thenable<R>>, | ||
mapper: (item: R, index: number, arrayLength: number) => U, | ||
@@ -611,3 +611,3 @@ ): Promise<U[]>; | ||
static reduce<R, U>( | ||
values: Promise.Thenable<Promise.Thenable<R>[]>, | ||
values: Promise.Thenable<Array<Promise.Thenable<R>>>, | ||
reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable<U>, | ||
@@ -617,3 +617,3 @@ initialValue?: U, | ||
static reduce<R, U>( | ||
values: Promise.Thenable<Promise.Thenable<R>[]>, | ||
values: Promise.Thenable<Array<Promise.Thenable<R>>>, | ||
reducer: (total: U, current: R, index: number, arrayLength: number) => U, | ||
@@ -637,3 +637,3 @@ initialValue?: U, | ||
static reduce<R, U>( | ||
values: Promise.Thenable<R>[], | ||
values: Array<Promise.Thenable<R>>, | ||
reducer: (total: U, current: R, index: number, arrayLength: number) => Promise.Thenable<U>, | ||
@@ -643,3 +643,3 @@ initialValue?: U, | ||
static reduce<R, U>( | ||
values: Promise.Thenable<R>[], | ||
values: Array<Promise.Thenable<R>>, | ||
reducer: (total: U, current: R, index: number, arrayLength: number) => U, | ||
@@ -670,7 +670,7 @@ initialValue?: U, | ||
static filter<R>( | ||
values: Promise.Thenable<Promise.Thenable<R>[]>, | ||
values: Promise.Thenable<Array<Promise.Thenable<R>>>, | ||
filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable<boolean>, | ||
): Promise<R[]>; | ||
static filter<R>( | ||
values: Promise.Thenable<Promise.Thenable<R>[]>, | ||
values: Promise.Thenable<Array<Promise.Thenable<R>>>, | ||
filterer: (item: R, index: number, arrayLength: number) => boolean, | ||
@@ -691,7 +691,7 @@ ): Promise<R[]>; | ||
static filter<R>( | ||
values: Promise.Thenable<R>[], | ||
values: Array<Promise.Thenable<R>>, | ||
filterer: (item: R, index: number, arrayLength: number) => Promise.Thenable<boolean>, | ||
): Promise<R[]>; | ||
static filter<R>( | ||
values: Promise.Thenable<R>[], | ||
values: Array<Promise.Thenable<R>>, | ||
filterer: (item: R, index: number, arrayLength: number) => boolean, | ||
@@ -698,0 +698,0 @@ ): Promise<R[]>; |
{ | ||
"name": "@types/bluebird", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "TypeScript definitions for bluebird", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bluebird", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "2c6cc437943ed3a6ede682d43fdda92551dc7a00ac9a4e827c254b18008c2eca", | ||
"typesPublisherContentHash": "b12059836320e599ea926bf003b501aa9ee36c157eb93e513f04a1b2fbe076d3", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
39845