7.0.0 (2019-05-24)
BREAKING CHANGES
- Cause
preferredTypes
setting not to apply by default to parent types; need to target type name with "<>" appended to target parent types (and only parent types); can alternatively; also adds optionunifyParentAndChildTypeChecks
to restore the old behavior
Allows for warning against overly generic types only (e.g., Array
without its own children) or against the parent type only (to disallow Array.<someType>
)
To restore old behavior, also target type names with "<>" or set the unifyParentAndChildTypeChecks
option.