From: Jérôme Benoit Date: Thu, 26 Nov 2020 21:05:12 +0000 (+0100) Subject: Type X-Git-Tag: v1.0.1-0~175 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=662b42702f5ec560290042715dcbde3b1a948587;hp=55e89ef83efa3acb70f08cf99924c92c0e575deb;p=e-mobility-charging-stations-simulator.git Type Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/OcppError.ts b/src/charging-station/OcppError.ts index ea34d943..d11ad56f 100644 --- a/src/charging-station/OcppError.ts +++ b/src/charging-station/OcppError.ts @@ -4,7 +4,7 @@ export default class OCPPError extends Error { code: string; details: any; - constructor(code: string, message: string, details?) { + constructor(code: string, message: string, details?: any) { super(message); this.code = code || Constants.OCPP_ERROR_GENERIC_ERROR;