Angular — How to remove and avoid unused imports

Who else wants to avoid and get rid of those unused Typescript imports that you keep forgetting about? 🤔

Daniel Kreider
ITNEXT
Published in
2 min readAug 2, 2021

--

A common cause of bloated Angular applications is unneeded imports.

As an application grows, we developers tend to ignore all the dependencies. And we forget to check our imports to make sure we’re not importing things we don’t use.

So how do we avoid this?

How do we make sure that all…

--

--