PLAY PODCASTS
TypeScript Fundamentals × Satisfies and as const

TypeScript Fundamentals × Satisfies and as const

In this Hasty Treat, Scott and Wes talk about Satisfies and as const. Show Notes Welcome Xmas recap Satisfies and as const What is const? Helping with currency Bos monster server update Satisfies export const currencies = { USD: 'US...

Syntax - Tasty Web Development Treats · Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

January 9, 202322m 48s

Audio is streamed directly from the publisher (traffic.megaphone.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

In this Hasty Treat, Scott and Wes talk about Satisfies and as const.

Show Notes export const currencies = { USD: 'US Dollars', CAD: 'Canadian Dollar', EUR: 'Euro', } as const; export type Currency = typeof currencies; export type CurrencyCode = keyof Currency; Tweet us your tasty treats