tickle/modules/utils/deferredPromise.d.ts

4 lines
113 B
TypeScript
Raw Normal View History

2023-06-06 22:45:16 +00:00
interface DeferredPromise<T> extends Promise<T>{
resolve: (value: T) => void
reject: (reason?: any) => void
}