I have the following code in tsconfig.json which is opened in visual studio. { "CompileOnSave":false, "CompilerOptions":{ "strict": true, "skipLibCheck":true }, "angularCompilerOptions":{ "fullTemplateTypeCheck":true, "strictInjectionParameters":true, "strictTemplates":true } }
- I would want the list of errors identified by the compiler to be saved in a .txt or .csv file.
- I need a list of errors identified across the workspace and not just for the files opened in the visual studio. Any inputs or suggestions?
I would need inputs/suggestions to try it out in the visual studio.
You won't get a full project-wide report like this in your editor, but you can run the typescript compiler yourself easily enough.
That command will find the
tsconfig.jsonin your project and use that to know what files to check.The
--noEmitflag means that compiled javascript will not be created for you.The
> tsc-result.txtwill create a file with the contents of any found type errors.