2016-05-23 19:14:23 -04:00
|
|
|
import { Type } from '@angular/core';
|
|
|
|
|
|
|
|
export type RouterConfig = Route[];
|
|
|
|
|
|
|
|
export interface Route {
|
|
|
|
index?: boolean;
|
|
|
|
path?: string;
|
|
|
|
component: Type | string;
|
|
|
|
outlet?: string;
|
2016-06-07 12:50:35 -04:00
|
|
|
canActivate?: any[];
|
|
|
|
canDeactivate?: any[];
|
2016-05-23 19:14:23 -04:00
|
|
|
children?: Route[];
|
|
|
|
}
|