Загрузка страницы

Indexed Access Types (Lookup Types) in TypeScript (plus keyof and generics)

In this video I'm talking about indexed access types which are also called lookup types. I'm explaining the keyof operator as well. And I included various examples.

👨‍🏫 Quiz:
https://dd.engineering/quiz/pw9ZUvDGtZGl

Article:
https://dd.engineering/blog/indexed-access-types-lookup-types-in-typescript

Table of Contents:
00:00 Introduction
00:13 Indexed access types with basic examples
04:57 The keyof operator
06:30 keyof + indexed access types + generics (first example - describing access to any property in a given object).
10:33 keyof + indexed access types + generics (second example - inferring the type of a parameter based on another parameter in a function)

👨‍💻 My Udemy Course:
Using TypeScript with React
https://www.udemy.com/course/react-with-typescript/?referralCode=1816455EA4C12F9CA9F4

Видео Indexed Access Types (Lookup Types) in TypeScript (plus keyof and generics) канала Dmytro Danylov
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
27 ноября 2020 г. 16:48:51
00:20:33
Яндекс.Метрика