How to model a TypeScript app using Effect | Hacker News Reader