bottom type

A type that no value belongs to, so it fits into every other type; in TypeScript this is never.

In more detail

It describes the empty set of values. Functions that always throw return it, and narrowing a union until nothing remains produces it.

Related terms

Taught in

References