shutdown -> ts
This commit is contained in:
1 parent
6b89db131d
commit
c98cba2eef
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user