Skip to content

Welshman Docs / @welshman/lib / CustomPromise

Type Alias: CustomPromise<T, E> ​

CustomPromise<T, E>: Promise<T> & object

Defined in: packages/lib/src/Deferred.ts:2

Promise type with strongly typed error

Type declaration ​

__errorType ​

__errorType: E

Type Parameters ​

• T

• E