Primitive Types
In TypeScript, you annotate variables utilizing a colon syntax : type right after the variable name.
Arrays and Tuples
Typing Arrays
Special Types: Any, Unknown, and Never
TypeScript introduces a few specialized types designed specifically to help control and restrict flexible variables.
Enumerations (Enums)
An enum is a special class that represents a group of pre-defined constants.