From 3bd0ce291e12966f56caab971a69abd702cef6cf Mon Sep 17 00:00:00 2001 From: vsavkin Date: Tue, 14 Jun 2016 16:57:34 -0700 Subject: [PATCH] feat(router): mark the index property as deprecated Use {path: '', component: A} instead of {index: true, component: A} }# --- modules/@angular/router/src/config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/@angular/router/src/config.ts b/modules/@angular/router/src/config.ts index b33cca44d9..3ca9625b6d 100644 --- a/modules/@angular/router/src/config.ts +++ b/modules/@angular/router/src/config.ts @@ -3,6 +3,10 @@ import {Type} from '@angular/core'; export type RouterConfig = Route[]; export interface Route { + /** + * Use `path: ''` instead. + * @deprecated + */ index?: boolean; path?: string; terminal?: boolean;