Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Typescript Index Signatures, Keyof Assertions & the Record Utility Type

Dave Gray via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore TypeScript's index signatures, keyof assertions, and the Record utility type in this comprehensive tutorial video. Learn how to create object types and dynamically access their properties using these powerful features. Discover the syntax for index signatures, understand their necessity, and explore the readonly modifier. Dive into required and optional properties combined with index signatures, and gain insights into keyof assertions. Compare the Record utility type with index signatures to enhance your TypeScript skills. Follow along with practical examples and improve your ability to work with dynamic object properties in TypeScript.

Syllabus

Intro
Welcome
Starter code and set up
What are index signatures?
Why you need an index signature
Index signature syntax
readonly modifier
Non-existing properties
Required properties combined with an index signature
Optional properties
keyof Assertions
Record utility type vs index signatures

Taught by

Dave Gray

Reviews

Start your review of Typescript Index Signatures, Keyof Assertions & the Record Utility Type

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.