feat(server): middleware params (#1314)

This commit is contained in:
Reed von Redwitz
2023-07-10 15:06:43 +02:00
committed by GitHub
parent 27622a190e
commit 724c81f2c7
9 changed files with 142 additions and 39 deletions
+1
View File
@@ -231,6 +231,7 @@ export interface MiddlewareHandlerContext<State = Record<string, unknown>>
next: () => Promise<Response>;
state: State;
destination: router.DestinationKind;
params: Record<string, string>;
}
export interface MiddlewareRoute extends Middleware {