Type alias PromiseOrValue<T>

PromiseOrValue<T>: T | Promise<T>

A promise of T or a value of T.

Type Parameters

  • T

Generated using TypeDoc