17.7 reflect-metadata and Emitting Type Information
Now, let’s get into the weird and wonderful world of making decorators actually useful. You see, the basic decorators we just covered are like getting a fancy new power tool… without the battery. They let you see that a class or method is being decorated, but they don’t give you the runtime information about that class or method to do anything truly intelligent. You know target is a constructor function, but what are the names and types of its properties? Good luck.