Initial boiler plate project
This commit is contained in:
12
node_modules/next/dist/lib/detached-promise.d.ts
generated
vendored
Normal file
12
node_modules/next/dist/lib/detached-promise.d.ts
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
/**
|
||||
* A `Promise.withResolvers` implementation that exposes the `resolve` and
|
||||
* `reject` functions on a `Promise`.
|
||||
*
|
||||
* @see https://tc39.es/proposal-promise-with-resolvers/
|
||||
*/
|
||||
export declare class DetachedPromise<T = any> {
|
||||
readonly resolve: (value: T | PromiseLike<T>) => void;
|
||||
readonly reject: (reason: any) => void;
|
||||
readonly promise: Promise<T>;
|
||||
constructor();
|
||||
}
|
||||
Reference in New Issue
Block a user