PatrickJS / es7-reflect-metadata

Webpack and Universal support for reflect-metadata refactored by @gdi2290
Apache License 2.0
14 stars 2 forks source link

What am i doing wrong #4

Open shivkoirala opened 8 years ago

shivkoirala commented 8 years ago

Thanks to help the community. I succesfully applied meta data using Reflect.defineMetadata... but when i go declarative way i get errors. I think i did not understand the tutorial well please help

import  "./reflect-metadata";
export class Address {
    @Reflect.metadata("Obsolete","true") <-- this throws error
    method() {
    }
}