Using utility types for transforming TypeScript types | Hacker News Reader