1.

What is the purpose of the tsconfig.json file?

Answer»

A tsconfig.json file in a directory MARKS that directory as the root of a TYPESCRIPT project. It PROVIDES the compiler options to compile the project.

Here is a SAMPLE tsconfig.json file:

{ "compilerOptions": { "module": "system", "NOIMPLICITANY": true, "removeComments": true, "outFile": "../../built/local/tsc.js", "sourceMap": true }, "include": ["src/**/*"], "exclude": ["node_modules", "**/*.spec.ts"]}


Discussion

No Comment Found