I have a typescript project that is dependent on the build over another typescript project. What is the best way to handle this setup?
Currently I have project A and project B where A is a shared library that B uses. A is a typescript project that gets build with a sourcemap and *.d.ts files.
I used npm install --save file:/path/to/A in order to make A usable by B but now I can't get any of my types to work. I've tried adding node_modules/A to typeRoots in tsconfig.json but that didn't seem to help.
Is there something I'm missing? Or maybe a better way of achieving this?
via etchesketch
No comments:
Post a Comment