6 ms·
On the more mainstream side of things, Typescript also has a bottom type called `never` which is used to type unreachable/exceptional code.
by dmkolobov 1y ago
On the more mainstream side of things, Typescript also has a bottom type called `never` which is used to type unreachable/exceptional code.
- saghm 1y agoRust has this too: https://doc.rust-lang.org/std/primitive.never.html https://doc.rust-lang.org/std/primitive.never.html