mirror of
https://github.com/angular/angular.git
synced 2026-11-27 08:57:55 -05:00
14 lines
278 B
TypeScript
14 lines
278 B
TypeScript
import {Type} from '@angular/core';
|
|
|
|
export type RouterConfig = Route[];
|
|
|
|
export interface Route {
|
|
path?: string;
|
|
terminal?: boolean;
|
|
component?: Type|string;
|
|
outlet?: string;
|
|
canActivate?: any[];
|
|
canDeactivate?: any[];
|
|
redirectTo?: string;
|
|
children?: Route[];
|
|
} |