Falsy/truthy test fixes
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / OCPPRequestService.ts
index 67faed54fc4610a8d98b419cbe30474eba1108b9..6a7729950de33b2532fb1b8c0153dc170280a957 100644 (file)
@@ -68,7 +68,7 @@ export default abstract class OCPPRequestService {
     messageId: string,
     messagePayload: JsonType,
     commandName: IncomingRequestCommand
-  ): Promise<ResponseType | undefined> {
+  ): Promise<ResponseType> {
     try {
       // Send response message
       return await this.internalSendMessage(