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-01 17:32:15 -04:00
|
|
|
canActivate?: any[],
|
2016-06-02 17:44:57 -04:00
|
|
|
canDeactivate?: any[],
|
2016-05-23 19:14:23 -04:00
|
|
|
children?: Route[];
|
|
|
|
}
|