@whatwg-node/promise-helpers
Advanced tools
Comparing version 0.0.1-rc-20250225125651-b62ba1ff61fd883944312b483b4ac0a4c9f269c0 to 0.0.1-rc-20250225130235-f3faf70dd8b2a9fa9fe1a17b9e580f4224f1b1ba
{ | ||
"name": "@whatwg-node/promise-helpers", | ||
"version": "0.0.1-rc-20250225125651-b62ba1ff61fd883944312b483b4ac0a4c9f269c0", | ||
"version": "0.0.1-rc-20250225130235-f3faf70dd8b2a9fa9fe1a17b9e580f4224f1b1ba", | ||
"description": "Promise helpers", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -8,2 +8,3 @@ export type MaybePromise<T> = Promise<T> | T; | ||
export declare function fakePromise<T>(value: T): Promise<T>; | ||
export declare function fakePromise(value: void): Promise<void>; | ||
export interface DeferredPromise<T = void> { | ||
@@ -10,0 +11,0 @@ promise: Promise<T>; |
Sorry, the diff of this file is not supported yet
11565
270