What are TypeScript Types?

Today in this blog, we are going to discuss the TypeScript Types.

The Type System represents the different types of values supported by the language. The Type System checks the validity of the supplied values before they are stored by the program. This ensures that the code behaves as expected. The Type System further allows for richer code hinting and automated documentation too.

The TypeScript Types mainly represent the different types of data types that support the typescript and that can be used in the typescript.

The Datatypes mainly has divided into following sections:

  • Any : The super type of all datatypes
  • Built-in Types : Include number, string, boolean, void, null, undefined.
  • User-defined Types: It inlcudes Arrays, Ennums, Classes, Interfaces.

So, thanks for following this blog, and if you need any help please leave your queries in the comment box we will be happy to help you.

fexpoundsofttechsolution h