Skip to content

Commit

Permalink
fix(directive): Update differ usage according to angular 5
Browse files Browse the repository at this point in the history
  • Loading branch information
gund committed Oct 22, 2017
1 parent bd6aaf2 commit eab9ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamic/dynamic.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class DynamicDirective implements OnChanges, DoCheck, OnDestroy {
private _componentInjector: ComponentInjector = this._injector.get(this._componentInjectorType, {});
private _lastComponentInst: any = this._componentInjector;
private _lastInputChanges: SimpleChanges;
private _inputsDiffer = this._differs.find({}).create(null as any);
private _inputsDiffer = this._differs.find({}).create();
private _destroyed$ = new Subject<void>();

private get _inputs() {
Expand Down

0 comments on commit eab9ecd

Please sign in to comment.