UNPKG

@prodo/route

Version:

Route plugin for [Prodo](https://prodo.dev). See [documentation](https://docs.prodo.dev/plugins/routing) for more info.

24 lines 594 B
import { History } from "history"; export interface RouteParams { path: string; params?: { [key: string]: string; }; } export declare const historySymbol: unique symbol; export declare const universeSymbol: unique symbol; export declare const persistentSymbol: unique symbol; export interface Universe { route: Required<RouteParams>; } export interface Routing { [historySymbol]: History; [universeSymbol]: Universe; route: Required<RouteParams>; } export interface Config { route: { history: History; }; } //# sourceMappingURL=types.d.ts.map