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

Refactor to use default exports #90

Closed
remojansen opened this issue Mar 3, 2016 · 1 comment
Closed

Refactor to use default exports #90

remojansen opened this issue Mar 3, 2016 · 1 comment

Comments

@remojansen
Copy link
Member

Many modules have only one export but it is not set as default:

export { Kernel };

So we need to repeat { and } in many places:

import { Kernel } from "./kernel/kernel";

If we used default exports:

export default Kernel ;

We would be able to import as follows:

import Kernel from "./kernel/kernel";

The entire code base is full of this problem and needs to be refactored.

@remojansen remojansen added this to the 2.0.0-alpha.1 milestone Mar 3, 2016
remojansen added a commit that referenced this issue Mar 4, 2016
@remojansen
Copy link
Member Author

Done 08909b3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant