Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All import instruction are cleaned without distinction #4

Open
tuxcy17 opened this issue Dec 30, 2021 · 0 comments
Open

All import instruction are cleaned without distinction #4

tuxcy17 opened this issue Dec 30, 2021 · 0 comments

Comments

@tuxcy17
Copy link

tuxcy17 commented Dec 30, 2021

The merge option work pretty well, except when we use third parties.

For example in my interface I use Observable as an external type provided by rxjs

import { BehaviorSubject, Observable } from "rxjs";

export interface DataService<T> {
  foo: BehaviorSubject<T>,
  bar(): Observable<T>
}

The merged result is clean but unesable

// no import :/
export interface DataService<T> {
  foo: BehaviorSubject<T>,
  bar(): Observable<T>
}

It will be interesting to provide a property in the config object to protect some import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant