Type alias RouteItem<Attrs, Comp, RouteArgs>

RouteItem<Attrs, Comp, RouteArgs>: {
    path: `/${string}`;
} & ({
    component: (new () => Comp);
    resolverClass?: (new (component, routeName) => DefaultResolver<Attrs, Comp, RouteArgs>);
} | {
    resolver: RouteResolver<Attrs, Comp, RouteArgs>;
})

A valid route definition.

Type Parameters

Type declaration

Generated using TypeDoc v0.24.8