diff --git a/server/typedef/EventCallbackFunction.ts b/server/typedef/EventCallbackFunction.ts index 3584d2e..f651594 100644 --- a/server/typedef/EventCallbackFunction.ts +++ b/server/typedef/EventCallbackFunction.ts @@ -6,6 +6,6 @@ type EventCallbackFunction = (args: { [key: string]: unknown }, clientInfo: { deviceId: string ip: string socket: SocketIo.Socket -}) => ApiCallbackMessage +}) => ApiCallbackMessage | Promise export default EventCallbackFunction