Like JavaScript and any other languages, TypeScript also provides basic data types to handle numbers, strings etc. Some common data types in TypeScript are: number, string, boolean, enum, void, null, undefined, any, never, Array and tuple.
Let's learn more about these basic data types of TypeScript, which you will need to use always. Let's learn with suitable examples.