@types/promise-timeout
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -1,8 +0,3 @@ | ||
// Type definitions for promise-timeout 1.3 | ||
// Project: https://github.com/building5/promise-timeout#readme | ||
// Definitions by: Aankhen <https://github.com/Aankhen> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
export function timeout<T>(promise: Promise<T>, timeoutMillis: number): Promise<T>; | ||
export class TimeoutError extends Error {} |
{ | ||
"name": "@types/promise-timeout", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "TypeScript definitions for promise-timeout", | ||
@@ -10,4 +10,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-timeout", | ||
"name": "Aankhen", | ||
"url": "https://github.com/Aankhen", | ||
"githubUsername": "Aankhen" | ||
"githubUsername": "Aankhen", | ||
"url": "https://github.com/Aankhen" | ||
} | ||
@@ -24,4 +24,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "85cb4bc2c26d7e5fb00e0cc2169cec5cd580856253a2270411691b645706e19a", | ||
"typesPublisherContentHash": "df49ad8ae1da3dbfe13506bb92e569b2f6b41b3cac2ac5db571cc0a829f79429", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,7 +11,2 @@ # Installation | ||
````ts | ||
// Type definitions for promise-timeout 1.3 | ||
// Project: https://github.com/building5/promise-timeout#readme | ||
// Definitions by: Aankhen <https://github.com/Aankhen> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
export function timeout<T>(promise: Promise<T>, timeoutMillis: number): Promise<T>; | ||
@@ -24,7 +19,6 @@ | ||
### Additional Details | ||
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT | ||
* Last updated: Wed, 18 Oct 2023 05:47:09 GMT | ||
* Dependencies: none | ||
* Global values: none | ||
# Credits | ||
These definitions were written by [Aankhen](https://github.com/Aankhen). |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2838
2
23