In Angular, a TypeScript-based framework, you may construct variables and their structures using a range of data types. Here we have some of the key data types:
Number: Can represent both floating-point and integer values.
Strings are collections of characters.
Boolean: A value which can be either True or False.
Null: A symbol denotes that a variable has no value.
Undefined: A declared variable that has not been assigned a value.
Array : An array is a collection of either different or identically typed components.
Tuple is a fixed-size array in which each element can be of a different type.
Any: Any type may be used to represent a value. Type checking for that variable has been turned off.
Void: Indicates that no value was returned by a function