Re:TypeScript's Type System Is Turing Complete (2017)
by DoomHotel on Wednesday July 14, 2021 @04:56AM
(#27831015)
Using the type system to implement a Natural Numbers Object[1] is pretty clever. Doing math with it is not exactly efficient, but it does prove it works.
[1] https://en.wikipedia.org/wiki/Natural_numbers_object