refactor: cleanup types signature namespace
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 20 Nov 2023 20:46:30 +0000 (21:46 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 20 Nov 2023 20:46:30 +0000 (21:46 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/types/ocpp/Requests.ts

index 4cb32e27479ba8828424823846a7c6ecabf38e95..8d19078e448f0584b33c357f41e248852c069655 100644 (file)
@@ -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,