Paths in tsconfig in Angular CLI #24362
Comments
TypeScript does not look at |
Hi @chrmarti , thank you for your reply. As I understood tsconfig.json is only the default name for the file. Using the compiler you can actually specify the name of the file e.g. tsc --project tsconfig.app.json. Since there are multiple config files in the same folder the names need to be different. Maybe there is a way to tell vscode which file(s) it should use? the tsconfig.app.json file is not a template. it is used like that by Angular CLI |
@antonkarsten Currently you must use the files names |
Another workaround you can apply |
Steps to Reproduce:
If you look on line 8 in src/app/app.module.ts you can see how I imported the button component. VSCode shows this as an error.
Maybe Im doing something wrong. Thats possible as well
Anton
The text was updated successfully, but these errors were encountered: