Skip to content

Commit

Permalink
fix: core types for middleware returning empty context
Browse files Browse the repository at this point in the history
  • Loading branch information
magne4000 committed Aug 19, 2024
1 parent 4f7dafe commit 781fb15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/tool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@
"@universal-middleware/hono": "^0",
"@universal-middleware/webroute": "^0"
}
}
}
2 changes: 1 addition & 1 deletion packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export interface UniversalMiddleware<
):
| Awaitable<Response>
| Awaitable<void>
| Awaitable<OutContext>
| Awaitable<OutContext | undefined>
| ((response: Response) => Awaitable<Response>);
}

Expand Down

0 comments on commit 781fb15

Please sign in to comment.