When you use TS purely for annotating strings and generic Record<string, any> types, sure. What's the point.
Why don't exhaustive matches, unions, and data modelling not get mentioned more often? That's where the true strength lies.
When you use TS purely for annotating strings and generic Record<string, any> types, sure. What's the point.
Why don't exhaustive matches, unions, and data modelling not get mentioned more often? That's where the true strength lies.
Those are the things I want to use TypeScript for, but it often requires me to adopt the whole ecosystem. I want a middle ground solution; I really just want JavaScript with some parts of TypeScript.