Could someone demonstrate how to create a custom decorator in Typescript that adds static metadata to the type, allowing for runtime access without needing to instantiate an instance of the class? I'm looking for something similar to __annotations__
in Angular.
Update - Please refer to the image below. How can I develop my own decorator factory that works on the type itself rather than just modifying instances?