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

Unnecessary option to import current file #38

Open
danielbarla opened this issue Nov 26, 2016 · 0 comments
Open

Unnecessary option to import current file #38

danielbarla opened this issue Nov 26, 2016 · 0 comments

Comments

@danielbarla
Copy link

Sometimes, auto-import will suggest the current file to import:

image

In this case, the default option / 1st result will add an import statement to the top of the file to import itself. The 2nd option is the class LoginProvider option which doesn't add an import (and the 3rd line is just a superfluous file from a tmp folder which can be ignored for this issue).

This option should probably be removed for the current file. Importing of the current file will simply cause TypeScript compile issues (and relatively confusing ones at that, e.g: Individual declarations in merged declaration 'LoginProvider' must all be exported or all local).

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