Hello,

thanks for the fast answer. So there is no possibility to use it for my own 
decorator?

I have issues using my decorator together with webpack:

export function TestDecorator(filter: Object) {
  return (target: Object) => {
    Reflect.defineMetadata("MyClassDecorator", filter, target);
  }
}


The compiler (angular/cli setup) complains about it:

File 'components/component-decorator.ts' is not a module.


What is wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to