test: fix clone() test for latest node version
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / ChargePointErrorCode.ts
index 75c5c482982096723c8e69f4aef8ccd91fbfb8d5..9c29390e6974923bdaa37a508696bcad5a906d28 100644 (file)
@@ -1,7 +1,7 @@
-import { OCPP16ChargePointErrorCode } from './1.6/ChargePointErrorCode';
-
-export type ChargePointErrorCode = OCPP16ChargePointErrorCode;
+import { OCPP16ChargePointErrorCode } from './1.6/ChargePointErrorCode.js'
 
 export const ChargePointErrorCode = {
-  ...OCPP16ChargePointErrorCode,
-};
+  ...OCPP16ChargePointErrorCode
+} as const
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export type ChargePointErrorCode = OCPP16ChargePointErrorCode