fix(router): relax type defintion of Route to improve dev ergonomics

This commit is contained in:
vsavkin 2016-07-28 12:15:07 -07:00
parent 915a6666f8
commit bb8b82b3f5
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ export interface Route {
* @deprecated - use `pathMatch` instead * @deprecated - use `pathMatch` instead
*/ */
terminal?: boolean; terminal?: boolean;
pathMatch?: 'full'|'prefix'; pathMatch?: string;
component?: Type|string; component?: Type|string;
redirectTo?: string; redirectTo?: string;
outlet?: string; outlet?: string;