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
{{ message }}
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
I was having problem with Angular not recognizing the bound @Input property. It showed up that the error was only caused by the annotated setter occuring later in the code, than the unannotated getter.
See my comment on your angular/angular#13108 in which I investigated and determined that the problem is your compilation with a pre-release version of TypeScript.
I think that version of TypeScript has a bug and I should not compensate by dirtying the documentation with what is actually a misleading solution even if that solution is an effective workaround.
I was having problem with Angular not recognizing the bound
@Input
property. It showed up that the error was only caused by the annotated setter occuring later in the code, than the unannotated getter.I suggest making this requirement more explicit in https://angular.io/docs/ts/latest/cookbook/component-communication.html#!#parent-to-child-setter because this way it IMHO suggests, that annotating the setter is what's important here, not that the annotated method (getter or setter) must occur first, before the unannotated one.
The text was updated successfully, but these errors were encountered: