Type Alias CustomPromise<T, E>

CustomPromise: Promise<T> & { __errorType: E }

Promise type with strongly typed error

Type Parameters

  • T
  • E