diff --git a/src/plugin.tsx b/src/plugin.tsx index de09949..04526dc 100644 --- a/src/plugin.tsx +++ b/src/plugin.tsx @@ -21,7 +21,7 @@ interface ServerResponseError { export type ServerResponse = ServerResponseSuccess | ServerResponseError; -type RoutePatch = (route: RouteProps) => RouteProps; +export type RoutePatch = (route: RouteProps) => RouteProps; export interface RouterHook { addRoute(path: string, component: ComponentType, props?: Omit): void;