podqast

TypeScript Fundamentals × Satisfies and as const

Hosted byWes Bos

In this Hasty Treat, Scott and Wes talk about Satisfies and as const.
Show Notes • 00:25 Welcome

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 • Scott’s Instagram

Episode page ↗
More from Syntax - Tasty Web Development Treats