Wizards of the Web
  • Home

Properties

fount of useless knowledge

TypeScript Decorators: Property Decorators
TypeScript

TypeScript Decorators: Property Decorators

This post takes an in-depth look at property decorators. It examines their signature, provides sample usage, and exposes a common antipattern. Reading the previous posts in the series is encouraged but not necessary. The Series so Far Code Overview Signature target: any propertyKey: string | symbol Usage Antipattern Example Solution Recap Legal The Series so Far Decorator Introduction JavaScript Foundation Reflection Parameter Decorators Property Decorators These posts are planned but not written yet:

  • CJ Harries
    CJ Harries
CJ Harries 11 March 2018 • 8 min read
Wizards of the Web © 2018
Latest Posts Hugo Casper3 by Jonathan Janssens