UNPKG

@hexadrop/types

Version:

Hexagonal architecture utils library

6 lines (5 loc) 148 B
/* * Represents a type that can be awaited. * @type {T} The type of the value that can be awaited. */ export type Awaitable<T> = Promise<T> | T;