Search

Home > Syntax - Tasty Web Development Treats > TypeScript Fundamentals × Satisfies and as const
Podcast: Syntax - Tasty Web Development Treats
Episode:

TypeScript Fundamentals × Satisfies and as const

Category: Technology
Duration: 00:22:49
Publish Date: 2023-01-09 20:16:11
Description:

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
Total Play: 0

Users also like

1K+ Episodes
Freakonomics .. 2K+     100+