Type Alias MaybePromise<T>

MaybePromise: Promise<T> | T

Either a Promise of T or just T itself.

Type Parameters

  • T