Appearance
type MaybePromise<T> = T | Promise<T>;
Defined in: types.ts:11
Utility type, that makes a type an optional promise.
T
1.0.0
Simon Kovtyk