Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

297
Views
connect redis (redislab) with node (typescript) using handy-redis

I'm trying to connect Redis (redislab) with Node application using handy-redis npm.

import { createNodeRedisClient } from 'handy-redis';

(async function() {
    
    const client = createNodeRedisClient({
        host: 'redis-<link>.ap-south-1-1.ec2.cloud.redislabs.com',
        port: <port>,
        password: <password>,
    });

})();

But Typescript returning this error:

Argument of type '{ host: string; port: string; password: string; }' is not  
assignable to parameter of type 'RedisClient'.
Object literal may only specify known properties, and 'host' does not exist in type
'RedisClient'

Though Typescript returning error, but the app properly working.
I've tried for long time to solve this, but couldn't success.
Please any one suggest me, how to properly use handy-redis with redislab to get rid of from this error.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!