feat(router): add pathMatch property to replace terminal

This commit is contained in:
vsavkin
2016-06-27 20:10:36 -07:00
parent dc64e90ab9
commit fcfddbf79c
9 changed files with 56 additions and 39 deletions

View File

@ -87,17 +87,9 @@ export declare type ResolveData = {
};
export interface Route {
canActivate?: any[];
canDeactivate?: any[];
children?: Route[];
component?: Type | string;
data?: Data;
outlet?: string;
path?: string;
redirectTo?: string;
resolve?: ResolveData;
terminal?: boolean;
}
pathMatch?:
/** @deprecated */ terminal?: boolean;
export declare class Router {
events: Observable<Event>;