You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be document that you get an error if you try to assign to an input property without an default value:
@Component({selector: 'app',template: 'Hello {{ ctrl.value }}'})classApp{// @Input() value; does not work cause the decorators transform will mark the property as not writeable if no initializer is given.
@Input()value=null;// This works }
The text was updated successfully, but these errors were encountered:
I don't think it is a bug it seems to a feature, but when following the documentation of ng-forward you get an error. I will open an issue at babel-transform-decorators-lagacy.
Using
It should be document that you get an error if you try to assign to an input property without an default value:
The text was updated successfully, but these errors were encountered: