From 2ecf27a787ce602c30be232db7baf146b4c96e6d Mon Sep 17 00:00:00 2001 From: David Q Date: Sat, 3 Feb 2024 09:40:19 +0100 Subject: [PATCH] Add Hono import and update tsconfig.json --- src/api/index.ts | 1 + tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/api/index.ts b/src/api/index.ts index 7de1e6a..593cae2 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -1,3 +1,4 @@ +import { Hono } from "hono"; import { fetchUserProfile } from "../lib/fetch"; const server = Bun.serve({ diff --git a/tsconfig.json b/tsconfig.json index a0e68e3..81f6c27 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ "esModuleInterop": true, "strict": true, "jsx": "react-jsx", - "jsxImportSource": "hono/jsx" + "jsxImportSource": "hono/jsx", + "moduleResolution": "node", } } \ No newline at end of file