Hello Sander,

I will create a sample and open an issue on GitHub.

On question about definining the input data for the decorator:

export interface ITestDecorator {
  service: Type<AbstractComponentService>;
}

export const TestDecorator = (decorator: ITestDecorator) => {
  return (target: Object) => {
    Reflect.defineMetadata(DECORATOR_NAME, decorator, target);
  }
};


Using it results into

Type 'typeof ComponentService' is not assignable to type 
'Type<AbstractComponentService>'

I think I have missunderstood the Type. I have orientated by the 
ClassProvider.

-- 
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