Typescript: class vs. interface | Hacker News Reader