feat: move to Deno.serve (#1427)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
46ae49d654
commit
e2a1bf8643
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user