Hook the OCPP 2.0 stack into the main code
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / ChargePointErrorCode.ts
index 30d91ad84d03135bd177a23c25bd3ef9208d2a8f..d08f17a07121c078011db81253e1c9c6f51ab03d 100644 (file)
@@ -1,7 +1,6 @@
 import { OCPP16ChargePointErrorCode } from './1.6/ChargePointErrorCode';
 
-export type ChargePointErrorCode = typeof ChargePointErrorCode;
-
 export const ChargePointErrorCode = {
-  ...OCPP16ChargePointErrorCode
-};
+  ...OCPP16ChargePointErrorCode,
+} as const;
+export type ChargePointErrorCode = OCPP16ChargePointErrorCode;