(no title)
abritinthebay | 6 years ago
Generally it's best to let its type inference do as much work as possible and then add types to help it. Simple input and output types in functions can help a lot too.
Too many types in TypeScript is, imo, a net negative to a project. It sounds counter-intuitive but has been borne out by practical use cases at multiple large companies that I've worked at.
No comments yet.