`import type {X}` and `import {type X}` are treated the same (they should not be)
Author: nemosmithasfCreated Jan 10, 2025Updated Sep 15, 2026
With skipTypeImports :true, the statement import {type X}... will be skipped. This is incorrect behaviour, because unlike import type { X }, the former will still import the file and load any side-effect which may exist.
In other words, when the statement is import {type X}, Madge must follow the path- which it currently does not.
Workaround: You can use no-import-type-side-effects in ESLint for now
Source: pahen/madge