Top Types
The top type, also known as the universal type, refers to a type that serves as the parent or
supertype for all other types within a specific type system. In TypeScript, the types any
and unknown
are considered top
types as they encompass all other types in the type system.