Data Types

Data Types

  1. Primitive Types

  2. Special Types

  3. Complex Types

  4. Union and Intersection Type

  5. Type alias and Interface

  6. Literal Type

  7. Function Type


Primitive Types

  1. string

  2. number

  3. boolean

  4. null

  5. undefined

  6. symbol


Special Types

  1. any

  2. unknown

  3. void

  4. never


Complex Types

  1. array

  2. tuple

  3. object

  4. enum


Union and Intersection Types

  1. Union

  2. Intersection


Type alias and Interface Types

  1. type

  2. interface


Literal Type (|) and Function Type

Last updated