Comment

Comment by CarelessExpert

> I’m surprised they didn’t opt to do this inline with the rest of the ruby code,

As they mention in the post, they followed typescript's approach, here. The benefit is it allows you to layer in typing into an existing codebase in a non-disruptive way.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton