Publisher : Haider Malik
Course Language : English
Types provide a way to describe the shape of an object, providing better documentation, and allowing TypeScript to validate that your code is working correctly.
Writing types can be optional in TypeScript, because type inference allows you to get a lot of power without writing additional code.
TypeScript’s type inference means that you don’t have to annotate your code until you want more safety.