Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
OCPPVersion,
RequestCommand
} from '../../types/index.js'
-import { logger } from '../../utils/index.js'
+import { Constants, logger } from '../../utils/index.js'
type Ajv = _Ajv.default
// eslint-disable-next-line @typescript-eslint/no-redeclare
const Ajv = _Ajv.default
)
}
- protected emptyResponseHandler (): void {
- /* This is intentional */
- }
+ protected emptyResponseHandler = Constants.EMPTY_FUNCTION
private getJsonRequestValidateFunction<T extends JsonType>(
commandName: RequestCommand,