feat: move to Deno.serve (#1427)

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Lino Le Van
2023-07-12 14:37:53 +02:00
committed by GitHub
co-authored by Marvin Hagemeister
parent 46ae49d654
commit e2a1bf8643
24 changed files with 67 additions and 151 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import type { ConnInfo } from "./deps.ts";
import { ServeHandlerInfo } from "./types.ts";
type HandlerContext<T = unknown> = T & ConnInfo;
type HandlerContext<T = unknown> = T & ServeHandlerInfo;
export type Handler<T = unknown> = (
req: Request,