=
bindings in @angular/upgrade
(#22167)
Previously, having a `=` binding on an upgraded components would result in setting the corresponding property to an EventEmitter function. This should only happen for `&` bindings. This commit rstrores the correct behavior. Note: The issue was only present in the dynamic version of `ngUpgrade`. The static version worked as expected. The error did not show up in tests, because in AngularJS v1.5.x a function would be serialized to an empty string in interpolations, thus making them indistinguishable from uninitialized properties (in the view). The serialization behavior changed in AngularJS v1.6.x, making the errors visible. PR Close #22167
Safari (7+), iOS (7+) and IE mobile (11) are tested on BrowserStack.
Angular
Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.
Quickstart
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Description
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%