@types/bluebird
Advanced tools
Comparing version 3.5.2 to 3.5.3
@@ -729,4 +729,25 @@ // Type definitions for bluebird 3.5.0 | ||
*/ | ||
export class AggregateError extends Error {} | ||
export class AggregateError extends Error implements ArrayLike<Error> { | ||
length: number; | ||
[index: number]: Error; | ||
join(separator?: string): string; | ||
pop(): Error; | ||
push(...errors: Error[]): number; | ||
shift(): Error; | ||
unshift(...errors: Error[]): number; | ||
slice(begin?: number, end?: number): AggregateError; | ||
filter(callback: (element: Error, index: number, array: AggregateError) => boolean, thisArg?: any): AggregateError; | ||
forEach(callback: (element: Error, index: number, array: AggregateError) => void, thisArg?: any): undefined; | ||
some(callback: (element: Error, index: number, array: AggregateError) => boolean, thisArg?: any): boolean; | ||
every(callback: (element: Error, index: number, array: AggregateError) => boolean, thisArg?: any): boolean; | ||
map(callback: (element: Error, index: number, array: AggregateError) => boolean, thisArg?: any): AggregateError; | ||
indexOf(searchElement: Error, fromIndex?: number): number; | ||
lastIndexOf(searchElement: Error, fromIndex?: number): number; | ||
reduce(callback: (accumulator: any, element: Error, index: number, array: AggregateError) => any, initialValue?: any): any; | ||
reduceRight(callback: (previousValue: any, element: Error, index: number, array: AggregateError) => any, initialValue?: any): any; | ||
sort(compareFunction?: (errLeft: Error, errRight: Error) => number): AggregateError; | ||
reverse(): AggregateError; | ||
} | ||
/** | ||
@@ -733,0 +754,0 @@ * returned by `Bluebird.disposer()`. |
{ | ||
"name": "@types/bluebird", | ||
"version": "3.5.2", | ||
"version": "3.5.3", | ||
"description": "TypeScript definitions for bluebird", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "0c07b6df1a2ac91a08b20a7a6017bd2930d8ba797d3350f85e7fbb3252ca59d4", | ||
"typesPublisherContentHash": "e4fb7372d2658d9fee81473613b56acfebb1043d5f0ef91ccbc1332bfce55724", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/bluebird | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bluebird | ||
Additional Details | ||
* Last updated: Thu, 23 Mar 2017 21:52:16 GMT | ||
* Last updated: Wed, 26 Apr 2017 21:39:19 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48812
4
748