"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EvalCommand = void 0;
const command_js_1 = require("./command.js");
/**
 * @see https://redis.io/commands/eval
 */
class EvalCommand extends command_js_1.Command {
    constructor([script, keys, args], opts) {
        super(["eval", script, keys.length, ...keys, ...(args ?? [])], opts);
    }
}
exports.EvalCommand = EvalCommand;
