With angular 2.0.0-beta.8 I've created a couple of custom decorator that 
extends the @Component decorator.

To make that I've used this code:

import {..., View } from 'angular2/core';


export var MyCustomComponent:ComponentFactory =
  <ComponentFactory>makeDecorator(MyCustomComponentMetadata, (fn:any) => 
fn.View = View);


Now, with angular 2.0.0-beta.12, the 'View' decorator has been dropped so 
the import throw an error because 'angular2/core' has no exported member 
'View'.

How I'm supposed to create a custom component decorator?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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