tedis
tedis copied to clipboard
tedis.get has invalid return type?
I'm sure there's a reason for this, but I can't find it anywhere in the docs or code.
As far as I know redis can only return strings (at least for GET) but the return types in the docs and and in the code (see screenshot) both show number as well. This is causing us to have to add normalization functions or overwrite the types using as string | null
neither of which is ideal.
I don't mind updating this, is this something you would accept a pull request for?