Type Erasure

During compilation, TypeScript removes type annotations, interfaces, type aliases, and other type constructs from the
output. This effect is called “Type Erasure”.