ArrayOneOrMore type
An array with one property at minimum.
type ArrayOneOrMore<T> = { 0: T } & T[]
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
An array with one property at minimum.
type ArrayOneOrMore<T> = { 0: T } & T[]