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.

Related questions

0 votes
asked Jan 27, 2020 in TypeScript - JavaScript's Superset by AdilsonLima
0 votes
asked Mar 22, 2022 in TypeScript - JavaScript's Superset by sharadyadav1986
...