From bb8b82b3f5130270e84bd7c9cde5ce1f1ea41445 Mon Sep 17 00:00:00 2001 From: vsavkin Date: Thu, 28 Jul 2016 12:15:07 -0700 Subject: [PATCH] fix(router): relax type defintion of Route to improve dev ergonomics --- modules/@angular/router/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/router/src/config.ts b/modules/@angular/router/src/config.ts index 18802622fe..111dc10bb5 100644 --- a/modules/@angular/router/src/config.ts +++ b/modules/@angular/router/src/config.ts @@ -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;