Route type used to resolve and stamp components.

interface IComponentRoute<D = any> {
    component: Component | PromiseLike<Component>;
    data?: D;
    guards?: Guard<any, any>[];
    path: string;
    pathMatch?: PathMatch;
    setup?: Setup<any>;
}

Type Parameters

  • D = any

Hierarchy

  • IRouteBase<D>
    • IComponentRoute

Properties

component: Component | PromiseLike<Component>
data?: D
guards?: Guard<any, any>[]
path: string
pathMatch?: PathMatch
setup?: Setup<any>
MMNEPVFCICPMFPCPTTAAATR