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
build: ngOnChanges property access rule not working (#21075)
Follow-up to #21074. We have a lint rule that flags property accesses like `changes.foo`
where `changes` is a `SimpleChanges` object, because they'll break under Closure
compiler. The rule depends on the TS type checker to identify the objects, but it
seems like somewhere along the way, tslint changed how they construct the
`Program` which removed the necessary type information.
These changes add a less complicated fallback which looks at whether the name
of the receiver of a property access is the same as the name of the first method
parameter.
(cherry picked from commit 2465131)
0 commit comments