refactor(elements): remove unused imports and properties (#36114)

- Remove imports that are not used.
- Remove private class properties that are not used outside of the
  constructor.

PR Close #36114
This commit is contained in:
George Kalpakas 2020-05-20 11:10:23 +03:00 committed by Kara Erickson
parent e3d447229d
commit 1380c5642b
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ const DESTROY_DELAY = 10;
export class ComponentNgElementStrategyFactory implements NgElementStrategyFactory {
componentFactory: ComponentFactory<any>;
constructor(private component: Type<any>, private injector: Injector) {
constructor(component: Type<any>, injector: Injector) {
this.componentFactory =
injector.get(ComponentFactoryResolver).resolveComponentFactory(component);
}

View File

@ -5,7 +5,7 @@
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {ComponentFactory, Injector} from '@angular/core';
import {Injector} from '@angular/core';
import {Observable} from 'rxjs';
/**