cleanup(router): fix a typo

This commit is contained in:
vsavkin 2016-06-01 17:57:53 -07:00
parent 8407cfeac7
commit 1f6ade894e
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ export class Router {
/**
* @internal
*/
constructor(private roorComponentType:Type, private resolver: ComponentResolver, private urlSerializer: UrlSerializer, private outletMap: RouterOutletMap, private location: Location) {
constructor(private rootComponentType:Type, private resolver: ComponentResolver, private urlSerializer: UrlSerializer, private outletMap: RouterOutletMap, private location: Location) {
this.currentUrlTree = createEmptyUrlTree();
this.currentRouterState = createEmptyState(roorComponentType);
this.currentRouterState = createEmptyState(rootComponentType);
this.setUpLocationChangeListener();
this.navigateByUrl(this.location.path());
}