From: Jérôme Benoit Date: Mon, 20 Nov 2023 20:46:30 +0000 (+0100) Subject: refactor: cleanup types signature namespace X-Git-Tag: v1.2.26~21 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8b75cab6a9906ba8a0a571c07cc80489c761dc15;p=e-mobility-charging-stations-simulator.git refactor: cleanup types signature namespace Signed-off-by: Jérôme Benoit --- diff --git a/src/types/ocpp/Requests.ts b/src/types/ocpp/Requests.ts index 4cb32e27..8d19078e 100644 --- a/src/types/ocpp/Requests.ts +++ b/src/types/ocpp/Requests.ts @@ -56,7 +56,7 @@ export type IncomingRequestHandler = ( export type ResponseCallback = (payload: JsonType, requestPayload: JsonType) => void; -export type ErrorCallback = (error: OCPPError, requestStatistic?: boolean) => void; +export type ErrorCallback = (ocppError: OCPPError, requestStatistic?: boolean) => void; export type CachedRequest = [ ResponseCallback,