Annotation is not es6
FBerthelot opened this issue · comments
Florent Berthelot commented
I create this issue just to notice you that decorator is not es6 😄
You can do things like this :
export const AppComponent = Component({
selector: 'my-app',
template: '<h1>My Angular 2 App in true es6</h1>'
})
.Class({
constructor: function() {}
});
Maybe there is better and more beautiful way to avoid annotation, but didn't find it yet 😃
Gábor Soós commented
Yes i know.
Is there a way to make a redirect for the old name if i rename the repository for example angular2-esnext-starter?
Gábor Soós commented
Yaaay it works out of the box
https://github.com/blog/1508-repository-redirects-are-here
Florent Berthelot commented
Yes, github do it automatically ;)
But not npm nor bower.
Gábor Soós commented
It is not published there so it can work.
Gábor Soós commented
Renamed the repo to esnext, now time to update the external links.