Documents for @litert/utils-ts-types
Preparing search index...
IMaybeAsync
Type Alias IMaybeAsync<T>
IMaybeAsync
:
Promise
<
T
>
|
T
A utility type to wrap a (returned) type in both
Promise
and non-
Promise
.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documents for @litert/utils-ts-types
Loading...
A utility type to wrap a (returned) type in both
Promise
and non-Promise
.