Wizards of the Web
  • Home

Composition

fount of useless knowledge

TypeScript Decorators: Introduction
TypeScript

TypeScript Decorators: Introduction

This post serves as introduction to TypeScript decorators. It looks at basic decorators, decorator factories, and decorator composition. You should have some familiarity with TypeScript and some object-oriented programming experience. The Series so Far Code Decorators Configuration Simple Example Decorator Factories Composition Recap Legal The Series so Far Decorator Introduction JavaScript Foundation Reflection Parameter Decorators Property Decorators Method Decorators Class Decorators Eventual Topics: Where Decorators Work Decorating Instance Elements vs. Static Elements Examples Pairing Parameter Decorators with Method Decorators Pairing Property Decorators with Class Decorators Code You can view the code related to this post under the post-01-decorator-intro tag.

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