build(ci): fix linting
[e-mobility-charging-stations-simulator.git] / ui / web / src / composables / UIClient.ts
index 5467d16d30fbe029e864a6fef8252a84d903e471..3e7856e483115bb6911a76a345efff0430638566 100644 (file)
@@ -5,13 +5,13 @@ import {
   type RequestPayload,
   type ResponsePayload,
   ResponseStatus,
-} from '@/types/UIProtocol';
+} from '@/types';
 import config from '@/assets/config';
 
 type ResponseHandler = {
   procedureName: ProcedureName;
   resolve: (value: ResponsePayload | PromiseLike<ResponsePayload>) => void;
-  reject: (reason?: any) => void;
+  reject: (reason?: unknown) => void;
 };
 
 export default class UIClient {
@@ -128,7 +128,7 @@ export default class UIClient {
     id: string,
     procedureName: ProcedureName,
     resolve: (value: ResponsePayload | PromiseLike<ResponsePayload>) => void,
-    reject: (reason?: any) => void
+    reject: (reason?: unknown) => void
   ): void {
     this.responseHandlers.set(id, { procedureName, resolve, reject });
   }