From 03d93ff8100850655955b82131e23fbc8c4d55d4 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Fri, 1 Nov 2024 18:14:51 -0300 Subject: [PATCH] fix: 'Context' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled. --- src/controllers/api/fallback.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/fallback.ts b/src/controllers/api/fallback.ts index 9e170093..0e98ac79 100644 --- a/src/controllers/api/fallback.ts +++ b/src/controllers/api/fallback.ts @@ -1,4 +1,4 @@ -import { Context } from '@hono/hono'; +import { type Context } from '@hono/hono'; const emptyArrayController = (c: Context) => c.json([]); const notImplementedController = (c: Context) => Promise.resolve(c.json({ error: 'Not implemented' }, 404));