Type alias RoutesContext

RoutesContext: {
    routes: {
        clearRoutes(): void;
        config(options: RoutesConfigOptions): void;
        hasRoute(route: string): boolean;
        navigate(route: string): void;
        register(route: string, handler: (() => void)): Route;
        validateRoutes(): Promise<boolean>;
    };
}

Type declaration

Generated using TypeDoc