From: Jérôme Benoit Date: Mon, 16 May 2022 20:49:06 +0000 (+0200) Subject: Use import type where appropriate X-Git-Tag: v1.1.60~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f3a490e6bd184709de4377d81a459bf49242cae1;p=e-mobility-charging-stations-simulator.git Use import type where appropriate Signed-off-by: Jérôme Benoit --- 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';