fix(router): relax type defintion of Route to improve dev ergonomics
This commit is contained in:
parent
915a6666f8
commit
bb8b82b3f5
|
@ -485,7 +485,7 @@ export interface Route {
|
|||
* @deprecated - use `pathMatch` instead
|
||||
*/
|
||||
terminal?: boolean;
|
||||
pathMatch?: 'full'|'prefix';
|
||||
pathMatch?: string;
|
||||
component?: Type|string;
|
||||
redirectTo?: string;
|
||||
outlet?: string;
|
||||
|
|
Loading…
Reference in New Issue