redis / ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
MIT License
14.07k stars 1.19k forks source link

Property `multi` does not exist on type `ChainableCommander` #1831

Open jcelmeta14 opened 8 months ago

jcelmeta14 commented 8 months ago

Hey all!

Apologies in advance if this issue does not follow any issue guidelines. I couldn't find a document describing issue structure, so I will do my best to give it some structure.

  1. Package version: v5.3.1
  2. Node: v16.15
  3. Typescript: v4.9.5

I am trying to use a feature described in the readme about the ability to use inline transactions with pipelining. However, if I start a pipeline and try to call multi, I get a try a type error. What I want to do is run some commands in a transaction, and then perform a get command.

image

Thank you!