From c44c66facd4e158aa4fe0a69f62a2ca3add805c1 Mon Sep 17 00:00:00 2001 From: Lukas Senionis Date: Wed, 19 Oct 2022 22:44:13 +0300 Subject: [PATCH] fix(plugin): export RoutePatch (#39) --- src/plugin.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;