Type Alias PromiseMaybeUndefOrCall<T, A>

PromiseMaybeUndefOrCall<T, A>: Promise<T | undefined> | ((...args: A) => T)

Type Parameters

  • T
  • A extends any[]