2016-06-21 12:17:30 -07:00

12 lines
223 B
TypeScript

import { Type } from '@angular/core';
export type RouterConfig = Route[];
export interface Route {
name: string;
index?: boolean;
path?: string;
component: Type | string;
outlet?: string;
children?: Route[];
}