UNPKG

270 BTypeScriptView Raw
1export declare function fakeRejectPromise(error: unknown): Promise<never>;
2export declare function fakePromise<const T>(value: T): Promise<T>;
3export declare function fakePromise<T>(value: T): Promise<T>;
4export declare function fakePromise(value: void): Promise<void>;