github code
{
"compilerOptions" : {
"target": "ES3",
"module": "ES2015",
"declaration": false,
"sourceMap": true,
"outDir": "./dist",
"rootDir": "./src",
"watch": true
},
"include": [
"src/**/*"
]
}
You need to add noEmitOnError: true in your tsconfig.json.
This flag controls if the typescript compiler should generate output files if any errors were reported. And by default it is false, meaning the compiler will still emit output files even when there are errors.
https://www.typescriptlang.org/tsconfig#noEmitOnError
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With