Socket
Socket
Sign inDemoInstall

@types/q

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/q - npm Package Compare versions

Comparing version 0.0.42 to 0.0.43

12

q v0.0/index.d.ts

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc