A type that represents either a single value of type T or a readonly array of T.
T
type OneOrMany<T> = T | readonly T[]