npm:redis – everything returns `string`?
Every command I try to use from
npm:redis
seems to have inferred return type string
. Look at the screenshot. Surely this command should be returning string[]
.
Is this not supposed to be working automatically? Anyone tried this?3 Replies
The GitHub README says:
Replies will be transformed into useful data structures:
This seems like a bug in the types of the NPM package. Can you check the type definition of the
hVals
function in VS Code?i tried, but it was really obscure. tbh i ended up just using /x/redis and it works a lot better 😛 thank you!