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: allow to set charging profile with TxProfile purpose
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
Error.ts
diff --git
a/src/types/Error.ts
b/src/types/Error.ts
index 885edfdb3232650234fe7099c689feef485bd290..34bad1ad4eabbf612fa2c27398def5fea4434f73 100644
(file)
--- a/
src/types/Error.ts
+++ b/
src/types/Error.ts
@@
-1,7
+1,7
@@
-import type { JsonType } from './JsonType
';
+import type { JsonType } from './JsonType
.js'
-export
type HandleErrorParams<T extends JsonType> =
{
- throwError?: boolean
;
- consoleOut?: boolean
;
- errorResponse?: T
;
-}
;
+export
interface HandleErrorParams<T extends JsonType>
{
+ throwError?: boolean
+ consoleOut?: boolean
+ errorResponse?: T
+}