diff --git a/packages/common/for-in/for-in.ts b/packages/common/for-in/for-in.ts index b87a904..22ebb34 100644 --- a/packages/common/for-in/for-in.ts +++ b/packages/common/for-in/for-in.ts @@ -17,7 +17,9 @@ export class NgForIn extends NgForOf implements DoCheck, OnChanges { changes['ngForOf'] = new SimpleChange(this.previousKeys, keys, change.isFirstChange()); this.previousKeys = keys; } - super.ngOnChanges(changes); + if (super.ngOnChanges) { + super.ngOnChanges(changes); + } } ngDoCheck(): void {