Skip to content

Commit

Permalink
add withRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
errorrik committed Oct 20, 2023
1 parent ad6c255 commit e065774
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,7 @@ export class Router {
add(config: RouteConfig | RouteConfig[]): Router;
}


export function withRoute(ComponentClass: Component, router?: Router): Component

export const version = '2.0.2';

0 comments on commit e065774

Please sign in to comment.