April 2018
Beginner
226 pages
4h 47m
English
tsconfig is also called the root file of a TypeScript project. It initializes your TypeScript project and uses the specific configuration rules while compiling ts. Let us have a look at some important rules and what they are meant for:
{//On saving the ts file, compile the ts to js "compileOnSave": true, "compilerOptions": {//Targeting option for ecmascript versions "target": "es5",//Library files that need to be included for target "lib": [ "es2017", "dom" ] }}
The global tsconfig file is inherited using the extend property in a specific source directory 's tsconfig.json.
Check out the following link for more information on each key and its usage: http://json.schemastore.org/tsconfig.
Read now
Unlock full access