/** * A type that may be wrapped in an array. * * @template U The type that may be an in an array. * @returns A type that may be an array of `U`. * @example MaybeArray // number | number[] */ type MaybeArray = U | U[]; export type { MaybeArray };