When trying to call get or set on a cluster using "@types/ioredis": "^4.0.9" and typescript there is no definition for Cluster.set or .get:

as per docs it says you can do this:
https://github.com/luin/ioredis#cluster
I assume the type files are incorrect in @types/ioredis, I can't find an easy way to fix them. (would rather open issue here than in the behemoth that is the @types repo)
This PR broke you like it did me: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/33315
Pin to 4.0.8 instead of updating to 4.0.9
I created a new PR to add the get / set methods: DefinitelyTyped/DefinitelyTyped#33655
Awesome thanks so much @adamhathcock I obviously missed that when looking at the PR diffs.
Thanks @nickroberts for quick fix!
This still isn't good enough. The Cluster interface in 4.0.8 has everything the non-Cluster interface has. I'm using del and exec and multi stuff on both.
The type must have shared a real interface. Should I submit a solution? Also, this churn in interface should warrant semantic version changes more extreme than a patch.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed.
Good work stale bot. This is still broken and still and an issue. Is it possible to just publish the generated definitions instead of the global ones just being broken and out of date?
Hahaha. I have spent hours reading, why the normal Redis methods are missing on the Cluster, I though, this maybe a limitation from redis itself. Finally landed here.
So for anyone else. All the commands from the normal Redis client are fully supported by Redis cluster too, it's just missing in types.
Same problem and still broken
I use @types/ioredis version 4.14.1, TS compilation fails, there is no hdel Property on the Cluster type.
Is there any better solution than rolling back @types/ioredis to 4.0.8 version?
Most helpful comment
Hahaha. I have spent hours reading, why the normal Redis methods are missing on the Cluster, I though, this maybe a limitation from
redisitself. Finally landed here.So for anyone else. All the commands from the normal Redis client are fully supported by Redis cluster too, it's just missing in types.