Re:An introduction to type programming in TypeScript
by benrbray on Wednesday February 02, 2022 @09:50AM
(#30178305)
You might be interested to learn that in languages like Coq with dependent types, the difference between type-level and value-level languages (almost) disappears! Check out the Software Foundations book [1].
[1] https://softwarefoundations.cis.upenn.edu/