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

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial demonstrates how to use TypeScript index signatures, keyof assertions, and the Record utility type to create object types and access their properties dynamically.

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.