fix(router): fixes a typo
This commit is contained in:
parent
2982892acc
commit
f0a6329005
|
@ -104,7 +104,7 @@ export class Router {
|
||||||
constructor(
|
constructor(
|
||||||
private rootComponentType: Type, private resolver: ComponentResolver,
|
private rootComponentType: Type, private resolver: ComponentResolver,
|
||||||
private urlSerializer: UrlSerializer, private outletMap: RouterOutletMap,
|
private urlSerializer: UrlSerializer, private outletMap: RouterOutletMap,
|
||||||
private location: Location, private injector: g Injector, private config: RouterConfig) {
|
private location: Location, private injector: Injector, private config: RouterConfig) {
|
||||||
this.routerEvents = new Subject<Event>();
|
this.routerEvents = new Subject<Event>();
|
||||||
this.currentUrlTree = createEmptyUrlTree();
|
this.currentUrlTree = createEmptyUrlTree();
|
||||||
this.currentRouterState = createEmptyState(this.rootComponentType);
|
this.currentRouterState = createEmptyState(this.rootComponentType);
|
||||||
|
|
Loading…
Reference in New Issue