Understanding Infer in TypeScript | Hacker News Reader