I am using node (TypeScript) and node-redis library. Since I use TypeScript, I also imported @types/redis.
In addition, I read this article on how to promisify redis methods for TypeScript usage: https://flaviocopes.com/node-promisify/
My problem is that is that it works for some redis methods (like GET, SET, etc) but it does not work with e.g. HSET or HGETALL.
If I look into type suggestions, I see the critical methods are actually not methods at all, but rather properties (hset, HSET):
Why is this so? How can I access those needed methods?
I guess I am doing something obvious wrong. Any ideas?