16 lines
308 B
TypeScript
16 lines
308 B
TypeScript
import {CONST, Type} from 'angular2/src/facade/lang';
|
|
|
|
export interface RouteDefinition {
|
|
path: string;
|
|
component?: Type | ComponentDefinition;
|
|
loader?: Function;
|
|
redirectTo?: string;
|
|
as?: string;
|
|
}
|
|
|
|
export interface ComponentDefinition {
|
|
type: string;
|
|
loader?: Function;
|
|
component?: Type;
|
|
}
|