Skip to content

Commit

Permalink
fix: m type
Browse files Browse the repository at this point in the history
  • Loading branch information
Seb Ringrose authored and Seb Ringrose committed Dec 24, 2024
1 parent 378829d commit a32c1ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/routers/httpRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class HttpRouter<
> extends BaseRouter<S, Config, R> {
Route = HttpRoute<S>;

constructor(public state?: S, public middleware: Middleware[] = [], public routes: R[] = []) {
constructor(public state?: S, public middleware: Middleware<S>[] = [], public routes: R[] = []) {
super(state, middleware, routes);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sejori/peko",
"version": "2.3.1",
"version": "2.3.2",
"description": "Featherweight apps on the edge 🐣⚡",
"main": "mod.ts",
"directories": {
Expand Down

0 comments on commit a32c1ea

Please sign in to comment.