YoVDO

Typescript Index Signatures, Keyof Assertions & the Record Utility Type

Offered By: Dave Gray via YouTube

Tags

Typescript Courses

Course Description

Overview

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

Related Courses

DEV201x: Introduction to TypeScript
Microsoft via edX
Developing Dynamic Web Applications Using Angular
Microsoft via edX
Introduction to TypeScript 2
Microsoft via edX
Multiplatform Mobile App Development with NativeScript
The Hong Kong University of Science and Technology via Coursera
Angular Fundamentals
Microsoft via edX