Skip to content

@pinia/root / pinia / _Awaited

_Awaited<T>

ts
type _Awaited<T>: T extends null | undefined ? T : T extends object & object ? F extends (value, ...args) => any ? _Awaited<V> : never : T;

Type Parameters

T

Released under the MIT License.