refactor(simulator): add type shorcuts for OCPP configuration keys
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / ChargePointErrorCode.ts
index 75c5c482982096723c8e69f4aef8ccd91fbfb8d5..9e70845d8221b0994c982c9ff68bdc33ab60d295 100644 (file)
@@ -1,7 +1,6 @@
-import { OCPP16ChargePointErrorCode } from './1.6/ChargePointErrorCode';
-
-export type ChargePointErrorCode = OCPP16ChargePointErrorCode;
+import { OCPP16ChargePointErrorCode } from '../internal';
 
 export const ChargePointErrorCode = {
   ...OCPP16ChargePointErrorCode,
-};
+} as const;
+export type ChargePointErrorCode = OCPP16ChargePointErrorCode;