From 6ac091d88e71ec395078a671037520bc9fd50c50 Mon Sep 17 00:00:00 2001 From: timonson Date: Fri, 30 Jun 2023 20:55:56 +0200 Subject: [PATCH] Add "verbatimModuleSyntax": true --- deno.json | 2 +- handler.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;