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

import both name and members from module #610

Closed
OlavHN opened this issue Jul 7, 2015 · 1 comment
Closed

import both name and members from module #610

OlavHN opened this issue Jul 7, 2015 · 1 comment

Comments

@OlavHN
Copy link

OlavHN commented Jul 7, 2015

Example:

import React, {Component} from 'react';

gives error:

Identifier Component could not resolve name

when using the Component variable.

It seems to be supported in ES6: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

modules are reported as done in #560 .

@jeffmo
Copy link
Contributor

jeffmo commented Jul 7, 2015

Thanks for the report! This will be fixed when #600 lands
(closing in favor of tracking that PR)

@jeffmo jeffmo closed this as completed Jul 7, 2015
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