UNPKG

vike

Version:

(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.

9 lines (8 loc) • 220 B
export { genPromise }; declare function genPromise<T = void>({ timeout, }?: { timeout?: number | null | undefined; }): { promise: Promise<T>; resolve: (val: T) => void; reject: (err: unknown) => void; };