Hacker News new | ask | show | jobs
by paulddraper 525 days ago
TypeScript has that.

Although it can infer types and generate the declaration fully