JSTypeOrArray
ts
type JSTypeOrArray = JSType | JSType[];WARNING
This type is mainly used as checker input for JSTypeChecker, not as a persistent data model.
Represents a JSType or an array of JSTypes.
Practical Pattern
Use a single JSType for strict checks and JSType[] for multi-allowed type checks.