Tricks I wish I knew when I learned TypeScript ↦
Tim Raderschad shares some knowledge he acquired the hard way. The tricks are:
- Readonly
- Any vs Unknown
- Typing Objects with Records
I knew exactly zero of these (although I’ve only written a few hundred lines of TypeScript thus far. I’m mostly ignoring it so I can retain my arch nemesis status with Nick (the perpetual TypeScript bull) on JS Party. 😉)
Discussion
Sign in or Join to comment or subscribe