typescript doesnt read d ts

Solutions on MaxInterview for typescript doesnt read d ts by the best coders in the world

showing results for - "typescript doesnt read d ts"
Dario
25 Sep 2018
1A couple things to check for:
2
3Are your *.d.ts files part of your project (via include or files)? If not, TypeScript won't check those as part of your project, obviously.
4Do you have skipLibCheck: true in tsconfig.json? This will prevent TypeScript from checking *.d.ts files
5Do you expect TypeScript to always check your whole project? This won't happen for performance reasons. With Atom-Typescript, you can force a complete typecheck of the project by running typescript:check-all-files command (bound to F7 by default) -- it might take a while depending on the size of your project and whether you're using any language service plugins.