diff --git a/packages/core/src/render3/features/ng_onchanges_feature.ts b/packages/core/src/render3/features/ng_onchanges_feature.ts index 660c12adf9..4e53f979af 100644 --- a/packages/core/src/render3/features/ng_onchanges_feature.ts +++ b/packages/core/src/render3/features/ng_onchanges_feature.ts @@ -54,7 +54,7 @@ function NgOnChangesFeatureImpl(definition: DirectiveDef): void { } function wrapOnChanges() { - return function(this: OnChanges) { + return function wrapOnChangesHook_inPreviousChangesStorage(this: OnChanges) { const simpleChangesStore = getSimpleChangesStore(this); const current = simpleChangesStore && simpleChangesStore.current;