Enfoce type imports as Lint rule
tasshi-me opened this issue · 0 comments
tasshi-me commented
I want to enforce to maintainers to use of import type
.
There is an ESLint rule to enforce consistent usage of type imports.
TypeScript allows specifying a type keyword on imports to indicate that the export exists only in the type system, not at runtime. This allows transpilers to drop imports without knowing the types of the dependencies.