Description
When importing createClient from redis, the TypeScript language server fails to resolve type definitions, causing:
- Type information stuck in loading state: Type hints and IntelliSense for
@redis remain in a perpetual loading state
- Cascading type resolution failure: This issue affects the entire project's type system, preventing:
- Type information display for other libraries
- Type information display for custom code
- Type navigation (go to definition, find references)
- Auto-completion and IntelliSense features
Reproduction Steps
-
Import createClient from redis:
import { createClient } from "redis";
-
Observe that:
- Type information does not load
- IDE shows loading spinner indefinitely
- No IntelliSense/autocomplete appears
- Type checking for the entire file/project becomes unresponsive
Note
Version 4 of the Redis client works without issues
Node.js Version
24.2.0
Redis Server Version
7.4.7
Node Redis Version
5.9.0
Platform
Darwin Kernel Version 25.0.0
Description
When importing
createClientfromredis, the TypeScript language server fails to resolve type definitions, causing:@redisremain in a perpetual loading stateReproduction Steps
Import
createClientfromredis:Observe that:
Note
Version 4 of the Redis client works without issues
Node.js Version
24.2.0
Redis Server Version
7.4.7
Node Redis Version
5.9.0
Platform
Darwin Kernel Version 25.0.0