repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: avoid overlapping schedule periods in get composite schedule
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
Error.ts
diff --git
a/src/types/Error.ts
b/src/types/Error.ts
index 76e3005f243236c7fcb65b6e6c204fee76418560..6a7c04e21fa38f7ee573deaad7b16dc623cb36df 100644
(file)
--- a/
src/types/Error.ts
+++ b/
src/types/Error.ts
@@
-1,5
+1,7
@@
-export type HandleErrorParams<T> = {
+import type { JsonType } from './JsonType';
+
+export interface HandleErrorParams<T extends JsonType> {
throwError?: boolean;
consoleOut?: boolean;
errorResponse?: T;
throwError?: boolean;
consoleOut?: boolean;
errorResponse?: T;
-}
;
+}