Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Use import type where appropriate
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
  • Loading branch information
Jérôme Benoit committed May 16, 2022
1 parent 08f130a commit f3a490e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/charging-station/ocpp/OCPPRequestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -188,7 +188,6 @@ export default abstract class OCPPRequestService {
/**
* Function that will receive the request's response
*
* @param chargingStation
* @param payload
* @param requestPayload
*/
Expand Down
2 changes: 1 addition & 1 deletion src/types/ocpp/Requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/types/ocpp/Responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit f3a490e

Please sign in to comment.