The Type System represents the different types of values supported by the language. It checks the validity of the supplied values before they are stored or manipulated by the program.
types of typescript - typescript interview questions - Madanswer
It can be classified into two types such as:
- Built-in: This includes number, string, boolean, void, null and undefined.
- User-defined: It includes Enumerations (enums), classes, interfaces, arrays, and tuple.