promisify redis get and return the correct typescript type

后端 未结 0 918
温柔的废话
温柔的废话 2020-12-24 03:46

The redis method get from redis node lib has this typescript signature:

export interface Commands {
    get(key: string, cb?: Callback&l         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题