2min chapter

Syntax - Tasty Web Development Treats cover image

TypeScript Fundamentals × Satisfies and as const

Syntax - Tasty Web Development Treats

CHAPTER

TypeScript Superpowers

A quick example of how TypeScript can be used to your will. I was creating all the types for like a customer purchase and one of the keys in a customer purchase is Which course code it is right? WTF is what the flex box a or G is advanced React and Graph QL No, de note is the node course You get the point right and I was like well Do I need to make I'm adding courses all the time and it would suck if I have to when I launch a new course If I have to go into six or seven files and update it.

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