refactor: HandlerContext.match to HandlerContext.params (#118)

This commit is contained in:
Leo Kettmeir
2022-03-06 20:27:02 +01:00
committed by GitHub
parent cf48eafa9a
commit adfdec548a
5 changed files with 64 additions and 38 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export interface IslandModule {
}
export interface HandlerContext<T = unknown> {
match: Record<string, string>;
params: Record<string, string>;
render: (data?: T) => Response;
}