Atom Typescript Auto Import

Viewed 1752

enter image description here

How to auto-import missing typescript modules in atom?

When I use a new module it does show me an error that it is missing and gives me suggestions to import it, but wondering if there is a plugin which can import it automatically ?

I am using the atom-typescript plugin but I don't think it has the auto-import feature.

I tried typescript-modules-helper didn't seem to be working

1 Answers

You can click one of those blocks like "Import 'RouterModule' from module "@angular/router"" and it will add the import line for you.

Related