epub.js
epub.js copied to clipboard
Types broken: "Module '"./layout"' has no exported member 'NavItem'."
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 :)