8000 Shorten import · Issue #4 · pehota/github-issue-browser · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Shorten import #4

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

Open
dimified opened this issue Jan 29, 2019 · 0 comments
Open

Shorten import #4

dimified opened this issue Jan 29, 2019 · 0 comments

Comments

@dimified
Copy link

You can shorten the import by using just from '../store' as you are exporting the types inside the index.js.

import { IMutationVars, SendMutationVars } from '../store/types';

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
0