In this lesson, we're going to look at the typescript concepts
Prevents trivial Errors.
Makes Code more readable.
In TypeScript, type annotations are annotations which can be placed anywhere when we use a type. The use of Type annotation is not mandatory in TypeScript. TypeScript has ability to infer the data types. It just helps the compiler in checking the types of variable and avoiding errors when dealing with the data types. Let's talk about the
any data type.
Now, let's talk about the primitive data types.