This TypeScript trick to conditionally include types is so useful, especially for React props. I've asked myself how this is done many times before, and it's just really cool to learn something so simple yet useful.
-- links
Discord: / discord
My GitHub: github.com/joschan21
Негізгі бет Ғылым және технология How Did I Not Know This TypeScript Trick Earlier??!
Пікірлер: 482