Refine UI protocol documentation
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / OCPPServiceUtils.ts
index 25d6b1e72d451ed64acdd9d93280c77bd4917036..96b34218bae93f78a595545a29b2969fc91000fc 100644 (file)
@@ -1,4 +1,4 @@
-import { DefinedError, ErrorObject } from 'ajv';
+import type { DefinedError, ErrorObject } from 'ajv';
 
 import { ErrorType } from '../../types/ocpp/ErrorType';
 
@@ -7,7 +7,7 @@ export class OCPPServiceUtils {
     // This is intentional
   }
 
-  public static AjvErrorsToErrorType(errors: ErrorObject[]): ErrorType {
+  public static ajvErrorsToErrorType(errors: ErrorObject[]): ErrorType {
     for (const error of errors as DefinedError[]) {
       switch (error.keyword) {
         case 'type':