X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FError.ts;h=6a7c04e21fa38f7ee573deaad7b16dc623cb36df;hb=041365be4e6cfcec381c895a203815dd933afff5;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..6a7c04e2 100644 --- a/src/types/Error.ts +++ b/src/types/Error.ts @@ -1,7 +1,7 @@ import type { JsonType } from './JsonType'; -export type HandleErrorParams = { +export interface HandleErrorParams { throwError?: boolean; consoleOut?: boolean; errorResponse?: T; -}; +}