denodrivers / denodrivers/redis

Redis types are incorrect

Open
#488 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
465
Forks
48
Avg merge
1d 2h
Merged PRs (30d)
5

Description

Screenshot 2025-01-14 at 1 50 37 PM

Screenshot 2025-01-14 at 1 51 03 PM

` const redis = await connect({
hostname: "127.0.0.1",
port: 6379,
});`

Here redis type is completely wrong. It suggests it contains connection method ?
If you check the first screenshot it is as per JSR documentation. However set and get is not suggesting as per types.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the TypeScript definitions for connect, set, and get, then compare the inferred Redis type with the JSR documentation referenced in the issue and the screenshots. Confirm the incorrect suggestions in a small usage example; done means the connection, set, and get APIs expose the documented types.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, redis, typescript
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.