Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 895 Bytes

File metadata and controls

21 lines (16 loc) · 895 Bytes

Typescript

  • What is metadata in typescript?
  • Where can I use metadata?
  • Which library would you use for metadata?
  • What is a property descriptor?
  • What types of decorators are there?
  • What is function overloading?
  • What properties do I need to include in tsconfig in order for the decorators to work?
  • What are alias paths for in typescript?

Task

  • Write a decorator that will collect dependency data in the constructor.
  • Write a decorator that, when a class method is instantiated, outputs a message with the class name to the console.

Resources