Typescript tsconfig.json exclude path not used
Answered
Hi
In my typescript project I am getting an intellisense suggestion from within the node_modules folder, which should be excluded as it is excluded in tsconfig.json.
Is it possible to fix? I don't mind duplicating the exclude in resharper settings but can't find that anywhere...
Any ideas?
Thanks!
Please sign in to leave a comment.
Hello Paul,
According to https://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/Module%20Resolution.md#why-does-a-module-in-the-exclude-list-still-get-picked-up-by-the-compiler page, TS compiler picks up the excluded files too. So, it is expected R# behavior.
Thanks!
ok thanks!