Comparing version 0.0.42 to 0.0.43
@@ -196,3 +196,3 @@ export = Q; | ||
*/ | ||
all<T>(this: Promise<IWhenable<T>[]>): Promise<T[]>; | ||
all<T>(this: Promise<Array<IWhenable<T>>>): Promise<T[]>; | ||
} | ||
@@ -277,3 +277,3 @@ | ||
*/ | ||
export function all<T>(promises: IWhenable<IWhenable<T>[]>): Promise<T[]>; | ||
export function all<T>(promises: IWhenable<Array<IWhenable<T>>>): Promise<T[]>; | ||
@@ -283,3 +283,3 @@ /** | ||
*/ | ||
export function race<T>(promises: IWhenable<T>[]): Promise<T>; | ||
export function race<T>(promises: Array<IWhenable<T>>): Promise<T>; | ||
@@ -289,5 +289,5 @@ /** | ||
*/ | ||
export function allSettled<T>(promises: IWhenable<IWhenable<T>[]>): Promise<PromiseState<T>[]>; | ||
export function allSettled<T>(promises: IWhenable<Array<IWhenable<T>>>): Promise<Array<PromiseState<T>>>; | ||
export function allResolved<T>(promises: IWhenable<IWhenable<T>[]>): Promise<Promise<T>[]>; | ||
export function allResolved<T>(promises: IWhenable<Array<IWhenable<T>>>): Promise<Array<Promise<T>>>; | ||
@@ -299,3 +299,3 @@ /** | ||
export function spread<T, U>( | ||
promises: IWhenable<T>[], | ||
promises: Array<IWhenable<T>>, | ||
onFulfilled: (...args: T[]) => IWhenable<U>, | ||
@@ -302,0 +302,0 @@ onRejected?: (reason: any) => IWhenable<U>, |
{ | ||
"name": "@types/q", | ||
"version": "0.0.42", | ||
"version": "0.0.43", | ||
"description": "TypeScript definitions for q", | ||
@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/q", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "49286c0c7fbaffc3ded69bd22c10fab50f69522b804294f6875800eb5dbeab46", | ||
"typesPublisherContentHash": "41e504f3fe45dca0a333e7c90dde93ee0864614b0a3af903aff866a7574c69f1", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
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
24896