So I asked this question earlier today on how to use paths.
Now I'm trying to convert this project using that approach.
So I first clone it:
git clone git@github.com:fireflysemantics/validator.git
Then edit the paths
setting so it looks like this:
"baseUrl": "./", /* Base directory to resolve non-absolute module names. */
"paths": {
"@fs": ["./src"],
"@test": ["./test"]
}, /*
Then I tried editing the src/container/error/index.ts
so that it looks like this:
export { ObjectErrors } from "@fs/container/error/ObjectErrors";
export { ValidationError } from "./ValidationError";
When I compile Typescript still generates this error:
src/container/error/index.ts:1:30 - error TS2307: Cannot find module '@fs/container/error/ObjectErrors'.
1 export { ObjectErrors } from "@fs/container/error/ObjectErrors"; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thoughts?