Property Descriptors


Updated Sep 8th, 2022

Discussed in Max’s TS course, specifically the decorator chapter, and I was unfamiliar.

Surprised that “PropertyDescriptor” is a built-in TS type (more from TS docs here).

Use Case: Pretty cool you can hide properties from being seen in a “for…in” loop


Link to MDN Docs from Max’s TS Course here

Video from Steve Griffith from 2017 here