tslint-no-circular-imports icon indicating copy to clipboard operation
tslint-no-circular-imports copied to clipboard

Ignoring interfaces?

Open dupski opened this issue 6 years ago • 2 comments

Yo! This is a great plugin - helps me avoid some hard-to-track bugs!

Is there any way we could have an option to ignore interfaces / types? Circular references between interfaces do not cause runtime issues and my project has a few that are hard to get rid of!

dupski avatar Aug 04 '18 01:08 dupski

Thanks! That’s a great idea - contributions are welcome!

bcherny avatar Aug 04 '18 01:08 bcherny

I know this issue is old, would the new 'type-only imports' from typescript 3.8 be a simple fix for this issue?

Reference: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export

Hufschmidt avatar Nov 04 '21 08:11 Hufschmidt