Type 'RedisClient' is missing the following properties from type 'Redis': Promise, options, status, connect, and 38 more.ts(2740) code example
Example: redis nodejs
/* npm install redis */
const redis = require("redis");
const client = redis.createClient();
client.on("error", function(error) {
console.error(error);
});
client.set("key", "value", redis.print);
client.get("key", redis.print);