refactor: refine OCPP stack log message
[e-mobility-charging-stations-simulator.git] / src / types / Error.ts
index b27f24578fa4829dc27e9eb7468f7217c3c6090b..6a7c04e21fa38f7ee573deaad7b16dc623cb36df 100644 (file)
@@ -1,4 +1,6 @@
-export interface HandleErrorParams<T> {
+import type { JsonType } from './JsonType';
+
+export interface HandleErrorParams<T extends JsonType> {
   throwError?: boolean;
   consoleOut?: boolean;
   errorResponse?: T;