@types/when
Advanced tools
Comparing version 2.4.31 to 2.4.32
@@ -6,10 +6,5 @@ // Type definitions for When 2.4.0 | ||
declare function When<T>(value: When.Promise<T>): When.Promise<T>; | ||
declare function When<T>(value: When.Thenable<T>): When.Promise<T>; | ||
declare function When<T>(value: T): When.Promise<T>; | ||
declare function When<T>(promiseOrValue: T | When.Promise<T> | When.Thenable<T>): When.Promise<T>; | ||
declare function When<T, U>(promiseOrValue: T | When.Promise<T> | When.Thenable<T>, transform: (val: T) => U): When.Promise<U>; | ||
declare function When<T, U>(value: When.Promise<T>, transform: (val: T) => U): When.Promise<U>; | ||
declare function When<T, U>(value: When.Thenable<T>, transform: (val: T) => U): When.Promise<U>; | ||
declare function When<T, U>(value: T, transform: (val: T) => U): When.Promise<U>; | ||
declare namespace When { | ||
@@ -240,5 +235,3 @@ // Helper interfaces | ||
*/ | ||
function resolve<T>(promise: Promise<T>): Promise<T>; | ||
function resolve<T>(foreign: Thenable<T>): Promise<T>; | ||
function resolve<T>(value?: T): Promise<T>; | ||
function resolve<T>(promiseOrValue: T | Promise<T> | Thenable<T>): Promise<T>; | ||
@@ -245,0 +238,0 @@ interface Deferred<T> { |
{ | ||
"name": "@types/when", | ||
"version": "2.4.31", | ||
"version": "2.4.32", | ||
"description": "TypeScript definitions for When", | ||
@@ -21,8 +21,8 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e0e793c5785ca7b24142721f8b9a26458800f6c49da251b9eb71d4dbb03b3a11", | ||
"typesPublisherContentHash": "e640b91dcbfab4262318d573801b79c382ad288b230f44748e199d2a33d74d77", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/when | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/when | ||
Additional Details | ||
* Last updated: Wed, 25 Apr 2018 00:38:11 GMT | ||
* Last updated: Thu, 30 Aug 2018 00:13:56 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: When |
Sorry, the diff of this file is not supported yet
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
20325
327