Having the following code snippet:
let z;
z = 50;
z = 'z';
paired with the configuration in my tsconfig.json file:
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"sourceMap": false,
"noEmitOnError": true,
"strict": true,
"noImplicitAny": true
}
}
Why am I not getting any exceptions during the compilation process to JavaScript?
Warm regards, Crova