3min chapter

Syntax - Tasty Web Development Treats cover image

Is JSDoc Better than TypeScript?

Syntax - Tasty Web Development Treats

CHAPTER

TypeScript Function Overloading

Liquid mention is really a nice easy way to type an entire function, which honestly, I kind of prefer that syntax at Type import directly above a function than all the other junk getting in the way. A lot of us people are saying, oh, yeah, but what about generics? Well, what about one of the ones that I found was function overloading. It's actually quite amazing that I tried really hard to find spots where you could not do things. Even enums,. Enums is like the weird one in TypeScript because it's data and types in one, you know, like everything else in TypeScript is stripped at compile time, but enums are converted to these

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode