X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FError.ts;h=34bad1ad4eabbf612fa2c27398def5fea4434f73;hb=c0bbb3eaf0c5dc704ea92820a2666a68ffdc27ff;hp=885edfdb3232650234fe7099c689feef485bd290;hpb=7b5dbe910fc30484324da90ee209ab7002bc5071;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/Error.ts b/src/types/Error.ts index 885edfdb..34bad1ad 100644 --- 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 = { - throwError?: boolean; - consoleOut?: boolean; - errorResponse?: T; -}; +export interface HandleErrorParams { + throwError?: boolean + consoleOut?: boolean + errorResponse?: T +}