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
👨🏫 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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Utility Types - Advanced TypeScriptConditional Types - Advanced TypeScriptWhat does KEYOF mean in TypeScript (safety for dynamic JavaScript)TypeScript: Type CompatibilityTypeScript Interfaces vs TypesLookup Types - one of the first super powers of TypeScriptReact & Infinite Scroll - IntersectionObserverBusy TypeScript Developer’s Guide to Advanced TypeScript | Ted Neward10 React Hooks Explained // Plus Build your own from ScratchWrapping it up with Decorators | Nicole OliverWhat Are *.d.ts files? How to Use *.d.ts Files in TypeScript?Learn useReducer In 20 MinutesWhy TypeScript is Actually GoodMapped Types - Advanced TypeScriptC# Generics - What they are, why they are useful, and how to create themSQL vs NoSQL or MySQL vs MongoDBHandling Errors with Apollo Client (React)12 Killer VS Code ExtensionsTypeScript Berlin Meetup #2: Generics, Conditional types and Mapped typesJava Generics Tutorial