Hacker News new | ask | show | jobs
Boolean Index Signature in TypeScript (miroslavpetrik.medium.com)
1 points by mirpetri 387 days ago
1 comments

Use type transformations like template literals and mapped types to enable boolean keys in TypeScript.

A more of a type challenge than a practical problem.