refactor(router): remove deprecated `RouterOutlet` properties
BREAKING CHANGE: `RouterOutlet` properties `locationInjector` and `locationFactoryResolver` have been removed as they were deprecated since v4.
This commit is contained in:
parent
8f7915022c
commit
a9ef858359
|
@ -72,11 +72,6 @@ export class RouterOutlet implements OnDestroy, OnInit {
|
|||
}
|
||||
}
|
||||
|
||||
/** @deprecated since v4 **/
|
||||
get locationInjector(): Injector { return this.location.injector; }
|
||||
/** @deprecated since v4 **/
|
||||
get locationFactoryResolver(): ComponentFactoryResolver { return this.resolver; }
|
||||
|
||||
get isActivated(): boolean { return !!this.activated; }
|
||||
|
||||
get component(): Object {
|
||||
|
|
|
@ -439,8 +439,6 @@ export declare class RouterOutlet implements OnDestroy, OnInit {
|
|||
readonly component: Object;
|
||||
deactivateEvents: EventEmitter<any>;
|
||||
readonly isActivated: boolean;
|
||||
/** @deprecated */ readonly locationFactoryResolver: ComponentFactoryResolver;
|
||||
/** @deprecated */ readonly locationInjector: Injector;
|
||||
constructor(parentContexts: ChildrenOutletContexts, location: ViewContainerRef, resolver: ComponentFactoryResolver, name: string, changeDetector: ChangeDetectorRef);
|
||||
activateWith(activatedRoute: ActivatedRoute, resolver: ComponentFactoryResolver | null): void;
|
||||
attach(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): void;
|
||||
|
|
Loading…
Reference in New Issue