refactor: refine type definitions
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Configuration.ts
index ac8a094508bfa15fe57eac1a2a1bdda844c1f145..c174234812421c929e78f82bbbafdcceff45cdbe 100644 (file)
@@ -44,8 +44,8 @@ export enum ConnectorPhaseRotation {
 
 export type ConfigurationKeyType = string | StandardParametersKey | VendorParametersKey
 
-export type OCPPConfigurationKey = {
+export interface OCPPConfigurationKey extends JsonObject {
   key: ConfigurationKeyType
   readonly: boolean
   value?: string
-} & JsonObject
+}