Previously, I was able to go get the metadata for a component with the Reflect metadata. Now the metadata has been moved to some annotations attached to the component.
Reading the metadata as such
type['__annotations__'][0].selector
is definitely a hack. What is the correct method to read such metadata from a component? I want to obtain the data attached to a component in the @Component decorator.