My tsconfig.json has the following reference:
"references": [
{
"path": "../serviceLib",
}
]
however if I want to use anything from this ref, I need to use an import like
import { Callable } from "../../serviceLib/dist/src/serviceHandler.js";
This format is confusing, and unwieldy to work with. Is this the intended import structure? Is there an easier way to do this? The dream would be to be able to use it like a node module, so I could just use
import { Callable } from "serviceLib";