refactor(ui): add types export control
[e-mobility-charging-stations-simulator.git] / ui / web / src / composables / UIClient.ts
index 5467d16d30fbe029e864a6fef8252a84d903e471..c2f1b0c21bff809e568ef386b612c3fba5812e02 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 {