From 7d68cd53291efb82edd188106218b8987d734329 Mon Sep 17 00:00:00 2001 From: "borja (aider)" Date: Thu, 27 Mar 2025 00:21:45 +0100 Subject: [PATCH] fix: Remove incorrect Bun import and add proper type declarations --- src/server.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/server.ts b/src/server.ts index 308ddc8..607d89e 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,7 +1,12 @@ -import { Bun } from 'bun'; +/// import { CommandService } from './services/command'; import { ResponseQueue } from './services/response-queue'; +// Bun is available globally when running under Bun runtime +declare global { + var Bun: typeof import('bun'); +} + const PORT = 3007; type WebhookPayload = {