My question is why allow the following if TypeScript is for type safely? Is there a flag for tsconfig to stop this?
let strNum: any = "2";
let numTest: number;
numTest = strNum;
console.log(`Type of number is: ${typeof numTest}`)
// Output number is: string