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

export {default as v} from "mod"; #10

Closed
sstur opened this issue Mar 13, 2016 · 2 comments
Closed

export {default as v} from "mod"; #10

sstur opened this issue Mar 13, 2016 · 2 comments

Comments

@sstur
Copy link

sstur commented Mar 13, 2016

It might be worth mentioning that the following are synonymous:

import v from "mod";
import {default as v} from "mod";

likewise, your proposed:

export v from "mod";

... has an existing form:

export {default as v} from "mod";

This is not to invalidate your argument for parity between import from and export from. Just something worth mentioning for completeness.

@leebyron
Copy link
Owner

Great suggestion, will do!

@leebyron
Copy link
Owner

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

2 participants