Conditional types in TypeScript | Hacker News Reader