diff --git a/deno.json b/deno.json index 1a2b180..572d9d5 100644 --- a/deno.json +++ b/deno.json @@ -7,7 +7,7 @@ "compilerOptions": { "lib": ["esnext", "dom", "dom.iterable", "deno.ns"], "strict": true, - "verbatimModuleSyntax": false, + "verbatimModuleSyntax": true, "useUnknownInCatchVariables": true, "noImplicitOverride": false, "checkJs": true diff --git a/handler.ts b/handler.ts index 15cc4b3..6646c29 100644 --- a/handler.ts +++ b/handler.ts @@ -1,7 +1,7 @@ import { type ConnInfo, type Handler } from "./deps.ts"; import { compose } from "./composition.ts"; -import { Middleware } from "./route.ts"; -import { Context } from "./context.ts"; +import { type Middleware } from "./route.ts"; +import { type Context } from "./context.ts"; function setXResponseTimeHeader(ctx: C, startTime: number) { const ms = Date.now() - startTime;