mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
12 lines
223 B
TypeScript
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[];
|
|
} |