Y
Hacker News
new
|
ask
|
show
|
jobs
by
dmkolobov
349 days ago
On the more mainstream side of things, Typescript also has a bottom type called `never` which is used to type unreachable/exceptional code.
1 comments
saghm
349 days ago
Rust has this too:
https://doc.rust-lang.org/std/primitive.never.html
link