1 Answer

0 votes
by

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:

  1. Built-in: This includes number, string, boolean, void, null and undefined.
  2. User-defined: It includes Enumerations (enums), classes, interfaces, arrays, and tuple.
...