Type
[e-mobility-charging-stations-simulator.git] / src / charging-station / OcppError.ts
index ea34d943f741a7253bea31a1302259e8b0694f0c..d11ad56f0b632d0ef826d8d8e9adad464057e5e8 100644 (file)
@@ -4,7 +4,7 @@ export default class OCPPError extends Error {
   code: string;
   details: any;
 
-  constructor(code: string, message: string, details?) {
+  constructor(code: string, message: string, details?: any) {
     super(message);
 
     this.code = code || Constants.OCPP_ERROR_GENERIC_ERROR;