shutdown -> ts

This commit is contained in:
Alex Holliday
2026-01-22 21:02:34 +00:00
parent 6b89db131d
commit c98cba2eef
+2 -1
View File
@@ -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;