How to cast a redis entry to a typescript type?

后端 未结 0 1070
没有蜡笔的小新
没有蜡笔的小新 2020-11-22 09:51

I have a class that stores a hashmap to a redis instance like so.

static async store(obj: KeyObject) {
    return client.hmset(`obj:${obj.objKey}`, {
      id         


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