chore: update router to 0.0.5 (#69)

This commit is contained in:
Leo K
2021-10-21 22:58:09 +02:00
committed by GitHub
parent d1076b0ad1
commit f0b96b80c8
4 changed files with 7 additions and 9 deletions
+2 -4
View File
@@ -9,11 +9,9 @@ export interface PageModule {
config?: PageConfig;
}
export interface HandlerContext<
T extends Record<string, string> = Record<string, string>,
> {
export interface HandlerContext {
req: Request;
match: router.MatchResult<T>;
match: Record<string, string>;
render?: () => Promise<Response>;
}