Hi Bjorn Harvold

Please excuse the late response. My blog is growing and it's getting harder to keep track of the responses.

As for your question. In such a scenario you would need to create another subentry that contains your shared interfaces. You then would import it in your modules by using the following path.

import {SomeInterface} from 'howdy/src/lib/shared';

Please let me know if this is clear to you. If not I am happy to provide you a sample project.

Written by

Passionate freelance frontend engineer. ❤️ Always eager to learn, share and expand knowledge.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store