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

Types broken: "Module '"./layout"' has no exported member 'NavItem'." #1078

Open
burtonator opened this issue Jun 6, 2020 · 0 comments
Open

Comments

@burtonator
Copy link

I get the compilation error:

"error TS2614: Module '"./layout"' has no exported member 'NavItem'. Did you mean to use 'import NavItem from "./layout"' instead?"

... this has a simple fix:

Just change:

export { default as Layout, NavItem } from './layout';

to

export { default as Layout } from './layout';
export { NavItem } from './navigation';

Then it works fine. If you could just patch directly rather than me sending a PR I'd appreciate it but I can still send a PR.. just super busy with a release :)

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