posts-typescript-decorators

WIP.

This is the code behind a series of posts about TypeScript decorators.

Finished

  1. Decorator Introduction
  2. JavaScript Foundation
  3. Reflection
  4. Parameter Decorators
  5. Property Decorators

Want to Do

  • Method Decorators
  • Class Decorators
  • Where Decorators Work
  • Examples
    • Property antipattern solution

Other TODO

Open

  • Fix parameter decorator class style
  • Fix parameter strict mode logic

Finished

  • Create uniform example class names
  • Update propertyKey's type everywhere (i.e. string | symbol not string)
  • Expand CLI args where possible (e.g. replace -P with --project)
  • Lint TS

License

Portions of several files in this repo were pulled from the official TypeScript repo. I've tried to note them and include a link to the repo's license.

Everything else is ISC.