AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Benefits of JSTalk Type Guarding in Errors
In TypeScript, you have no way to specify what a function throws. With JSTalk, you can define an at-throws. This is so much better than having to type guard every single time in unknown error. It's even just with I'm doing demos in the browser and you can import ES modules straight from a URL. You can you can use import and export. The fact that that works straight away in the browser without needing any sort of compile step is it's pretty amazing.