Changes to consistent-type-imports
with Legacy Decorators and Decorator Metadata
consistent-type-imports
with Legacy Decorators and Decorator Metadata · 7 min read
We've made some changes to the consistent-type-imports
rule to fix some long-standing issues when used alongside experimentalDecorators: true
and emitDecoratorMetadata: true
. These changes increase safety and prevent invalid fixes when using decorator metadata.