I want to use the Reflect to get a template of my component by I get this error
console.log(Reflect.getMetadata('annotations',SectionsTemplateComponent)[0].template);
knowing that I have reflect-metadata in my packege json
thanks
npm install reflect-metadata -D
import 'reflect-metadata'
For me, adding import 'reflect-metadata'
fixed the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With