A new version of TypeScript released on August 26, typescript 4. In this article, we will discuss all the new features, improvements, and…
A new version of TypeScript released on August 26, typescript 4. In this article, we will discuss all the new features, improvements, and breaking changes that were released with the latest Typescript version.
let a = "cat";
In the very next line, you can write:
a = 24; // and this is a problem!
and no one is going to stop you, not your compiler, not your IDE and neither will you know it yourself unless the code breaks because you were expecting a string and you got an integer and you will only know it post-production.