fix(ivy): ngOnChanges hooks should be inherited from grand-superclasses (#28888)

PR Close #28888
This commit is contained in:
Marc Laval
2019-02-21 16:42:29 +01:00
committed by Ben Lesh
parent 7f3e3a8c45
commit 9dac04ff50
4 changed files with 132 additions and 62 deletions

View File

@ -127,8 +127,6 @@ export function InheritDefinitionFeature(definition: DirectiveDef<any>| Componen
}
}
}
break;
} else {
// Even if we don't have a definition, check the type for the hooks and use those if need be
const superPrototype = superType.prototype;