ts-importer
ts-importer copied to clipboard
import statements are broken if the final import item contains a line break
if the final import item contains a line break, the new import will corrupt it by being added inside the brackets.
import {
Component
} from '@angular/core';
@Component()
class Test {
}
And then you add another one, for example, Subject
import {
import { Subject } from 'rxjs';
Component
} from '@angular/core';
@Component()
class Test {
property: Subject
}