diff --git a/server/src/shutdown.ts b/server/src/shutdown.ts index 2287a6a4a..877aef325 100644 --- a/server/src/shutdown.ts +++ b/server/src/shutdown.ts @@ -1,7 +1,8 @@ import { InitializedServices } from "./config/services.js"; import { logger } from "./utils/logger.js"; +import type { Server } from "http"; -export const initShutdownListener = (server: any, services: InitializedServices) => { +export const initShutdownListener = (server: Server, services: InitializedServices) => { const SERVICE_NAME = "Server"; let isShuttingDown = false;