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

[BUG] typeimport bug when importing on typed files #101

Open
zomars opened this issue Aug 15, 2019 · 1 comment
Open

[BUG] typeimport bug when importing on typed files #101

zomars opened this issue Aug 15, 2019 · 1 comment

Comments

@zomars
Copy link

zomars commented Aug 15, 2019

Whenever I try to import something that already has some type imported this happens:

Before import:

import User from '../User';

import type { UserType } from '../User';

After import:

import User from '../User';

import typeimport { otherImport } from '../otherImport'; { UserType } from '../User';

The desired result would be:

import User from '../User';

import type { UserType } from '../User';
import { otherImport } from '../otherImport';

EDIT: I'm using flow BTW.

@zomars
Copy link
Author

zomars commented Aug 15, 2019

May be related to #86

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