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

Use import { type foo } from 'foo' ? #301

Closed
tw0517tw opened this issue Jul 6, 2018 · 2 comments · Fixed by #313
Closed

Use import { type foo } from 'foo' ? #301

tw0517tw opened this issue Jul 6, 2018 · 2 comments · Fixed by #313

Comments

@tw0517tw
Copy link
Collaborator

tw0517tw commented Jul 6, 2018

I found that VS code can do type hint when

import { type foo } from 'foo';

but most of the case we use

import type { foo } from 'foo';
@tw0517tw
Copy link
Collaborator Author

import { type foo } from 'foo';

default

import type { foo } from 'foo';

default

@chentsulin
Copy link
Collaborator

maybe relevant: flow/flow-for-vscode#23

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

Successfully merging a pull request may close this issue.

2 participants