Home > types > OneOrMore
同 T | T[]。
T | T[]
Signature:
export declare type OneOrMore<T> = T | T[];
type X = OneOrMore<number> // => number | number[]