fix: various fixes to files handling and their content caching
[e-mobility-charging-stations-simulator.git] / src / types / Error.ts
index 76e3005f243236c7fcb65b6e6c204fee76418560..885edfdb3232650234fe7099c689feef485bd290 100644 (file)
@@ -1,4 +1,6 @@
-export type HandleErrorParams<T> = {
+import type { JsonType } from './JsonType';
+
+export type HandleErrorParams<T extends JsonType> = {
   throwError?: boolean;
   consoleOut?: boolean;
   errorResponse?: T;