Hacker News
points by gavinray 3 days ago | 0 comments

  > Acceptance proves, of the function's translation into the calculus, that for inputs and a heap meeting their declared types it does not get stuck and does not return a value outside its result type.
TypeScript's type-checker already proves the latter bit, no?
[–] cristianioc 1 day ago
Actually it does not: if TypeScript says string, it does not mean string. It could be number, or something else. TypeScript tries to cover the most common scenarios, not all.
Hacker News