Using TS type annotations for JavaScript engine optimization | Dark Hacker News