From f3a490e6bd184709de4377d81a459bf49242cae1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 16 May 2022 22:49:06 +0200 Subject: [PATCH] Use import type where appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ocpp/OCPPRequestService.ts | 3 +-- src/types/ocpp/Requests.ts | 2 +- src/types/ocpp/Responses.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/charging-station/ocpp/OCPPRequestService.ts b/src/charging-station/ocpp/OCPPRequestService.ts index 1149cda5..d03e64ec 100644 --- a/src/charging-station/ocpp/OCPPRequestService.ts +++ b/src/charging-station/ocpp/OCPPRequestService.ts @@ -8,7 +8,7 @@ import { } from '../../types/ocpp/Requests'; import { JsonObject, JsonType } from '../../types/JsonType'; -import ChargingStation from '../ChargingStation'; +import type ChargingStation from '../ChargingStation'; import Constants from '../../utils/Constants'; import { EmptyObject } from '../../types/EmptyObject'; import { ErrorType } from '../../types/ocpp/ErrorType'; @@ -188,7 +188,6 @@ export default abstract class OCPPRequestService { /** * Function that will receive the request's response * - * @param chargingStation * @param payload * @param requestPayload */ diff --git a/src/types/ocpp/Requests.ts b/src/types/ocpp/Requests.ts index b0037ae0..485d58a1 100644 --- a/src/types/ocpp/Requests.ts +++ b/src/types/ocpp/Requests.ts @@ -7,7 +7,7 @@ import { OCPP16StatusNotificationRequest, } from './1.6/Requests'; -import ChargingStation from '../../charging-station/ChargingStation'; +import type ChargingStation from '../../charging-station/ChargingStation'; import { JsonType } from '../JsonType'; import { MessageType } from './MessageType'; import { OCPP16DiagnosticsStatus } from './1.6/DiagnosticsStatus'; diff --git a/src/types/ocpp/Responses.ts b/src/types/ocpp/Responses.ts index a3c6672c..62df6ccd 100644 --- a/src/types/ocpp/Responses.ts +++ b/src/types/ocpp/Responses.ts @@ -11,7 +11,7 @@ import { OCPP16UnlockStatus, } from './1.6/Responses'; -import ChargingStation from '../../charging-station/ChargingStation'; +import type ChargingStation from '../../charging-station/ChargingStation'; import { ErrorType } from './ErrorType'; import { JsonType } from '../JsonType'; import { MessageType } from './MessageType'; -- 2.34.1