We have a problem where WebStorm complains about some named paths. Everything builds fine with webpack though.
This is our file structure:
apps
app1
tsconfig.e2e.json
src
tests
testsuite1
file.po.ts
libs
lib1
src
index.ts
libs
Our index.ts for the lib:
export * from './lib';
The paths in our tsconfig.e2e.json:
{
"compilerOptions": {
...
"paths": {
"@a/lib1": ["../../libs/lib1/src"],
}
}
}
Our import is marked as not found in WebStorm in file.po.ts
import { Mo } from '@a/lib1';
We have enabled TypeScript language service in WebStorm and some other similar imports are working. We are new to TypeScript and WebStorm so perhaps we are missing something.
tsconfig.*.json
files plus several dummy ts files that only include imports/exports and dummy declarations - I don't need your proprietary code) – Heterophony