v3.7.1: false-positive fixes for inherited members and tsconfig aliases
A patch release with two dead-code false-positive fixes and a performance improvement to star re-export analysis.
Bug fixes
-
unused-class-membersno longer flags a method reached through an inherited generic base-class property. A derived client method called via a property whose type is declared on a generic base class was reported as unused; those calls are now credited, so the member is retained. Thanks @vethman for the report. (#1910) -
unlisted-dependenciesno longer reports a TypeScriptpathsalias as an npm package. With atsconfig.jsonpresent, the TypeScript plugin now activates sopathsaliases resolve as internal imports instead of being misread as missing dependencies. Thanks @vethman for the report. (#1911)
Performance
- Faster star re-export analysis on wide barrel files. Synthesizing star re-exports scanned every source export once per re-exported name, which grew quadratically on wide value-plus-type merge barrels. Each freshly synthesized export is now located directly instead of by a repeated positional scan, with byte-identical analysis output. (#1916)
Full Changelog: v3.7.0...v3.7.1