fix: types must have the type prefix

apparently happens in Deno 2.0?
This commit is contained in:
P. Reis 2024-10-09 15:22:09 -03:00
parent 22fa3f944c
commit 57bbbb289b

View file

@ -1,4 +1,4 @@
import { Context, Env as HonoEnv, Handler, Hono, Input as HonoInput, MiddlewareHandler } from '@hono/hono'; import { type Context, Env as HonoEnv, Handler, Hono, Input as HonoInput, MiddlewareHandler } from '@hono/hono';
import { cors } from '@hono/hono/cors'; import { cors } from '@hono/hono/cors';
import { serveStatic } from '@hono/hono/deno'; import { serveStatic } from '@hono/hono/deno';
import { logger } from '@hono/hono/logger'; import { logger } from '@hono/hono/logger';