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
refactor: cleanup performance statistics namespace
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
Error.ts
diff --git
a/src/types/Error.ts
b/src/types/Error.ts
index b27f24578fa4829dc27e9eb7468f7217c3c6090b..885edfdb3232650234fe7099c689feef485bd290 100644
(file)
--- a/
src/types/Error.ts
+++ b/
src/types/Error.ts
@@
-1,5
+1,7
@@
-export interface HandleErrorParams<T> {
+import type { JsonType } from './JsonType';
+
+export type HandleErrorParams<T extends JsonType> = {
throwError?: boolean;
consoleOut?: boolean;
errorResponse?: T;
-}
+}
;