What does KEYOF mean in TypeScript (safety for dynamic JavaScript)

preview_player
Показать описание
In this TypeScript tutorial, we look at the #TypeScript #keyof type operator and how it can introduce type safety in your code when working with #JavaScript object keys.

🚥 Professional Courses

Relevant Additional Resources:

#basarat

👇 SUBSCRIBE for MORE 👇

**Feel Free To Read This Lot**

I'm Basarat, That TypeScript Guy and I love helping developers. More about me:

Microsoft MVP for TypeScript
Lead Frontend Practice at Australia Post
150K contributions on Stackoverflow. Top Contributor for TypeScript.
Book Author : Beginning NodeJS
Book Author : TypeScript Deep Dive
Creator of multiple hot ✨ed Github Open Source projects

Рекомендации по теме
Комментарии
Автор

First resource I've came across that has helped me understand this properly. Thank you.

Smart_Contractor
Автор

This whole channel delivers content of great quality. Everyone should use like button more on here, this channel deserves to be on the top!

xdeveloper
Автор

best explanation ever about keyof operator

carlosmendez
Автор

Very clear and concise! great explanation. Liked, commented, subscribed!

WebSurfingIsMyPastime
Автор

Quality content! Subscribed! Thank you!!

sisiradhikari
Автор

Great videos Basarat :) Would you ever do a video explaining Proxies in more depth? I'm having trouble grokking them. Cheers

benjaminstorrier
Автор

thats f'ing amazing explanation. thank you! 😍

amirabaris
Автор

Cool!!!! Now I k ow what keyof is
Used for, thanks man, great video

ikechukwucharles
Автор

Wow, I just discovered your channel. What a great video. Crystal clear explanation. Can you please teach more advance concept like this one?

antonioquintero-felizzola
Автор

What's in the "proxy" file? How did you get proxies working with TypeScript?

sidekickrida
Автор

How making that function type generic would prevent errors if someone passed a string or array instead of an object? Since it 's generic, it would just be acceptable.

AmodeusR