Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
387 B
Text
12 lines
387 B
Text
/**
|
|
* 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();
|
|
}
|