UNPKG

vim-webgl-component

Version:

A demonstration app built on top of the vim-webgl-viewer

9 lines (8 loc) 363 B
export declare class DeferredPromise<T> extends Promise<T> { resolve: (value: T | PromiseLike<T>) => void; reject: (reason: T | Error) => void; initialCallStack: Error['stack']; constructor(executor?: ConstructorParameters<typeof Promise<T>>[0]); /** @throws error with amended call stack */ rejectWithError(error: Error): void; }