Skip to content

tedis.get has invalid return type? #59

@aerze

Description

@aerze

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.

image

I don't mind updating this, is this something you would accept a pull request for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions