TypeScript - What is tsconfig.json ?
There are lot of compiler flags are there, So it is difficult to remember. So lets do it in config file.
This config file is called "tsconfig.json" file
* Place this file in the root directory.
Eg.
tsconfig.json:
{
"compilerOptions":{
"noEmitOnError":true,
"target":"es5";
}
}
Command to auto generate this file with template:
tsc --init
This config file is called "tsconfig.json" file
* Place this file in the root directory.
Eg.
tsconfig.json:
{
"compilerOptions":{
"noEmitOnError":true,
"target":"es5";
}
}
Command to auto generate this file with template:
tsc --init
Comments
Post a Comment