Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Type instantiation is excessively deep and possibly infinite in RedisJSON.GET #2832

Open
mauriciocirelli opened this issue Sep 9, 2024 · 2 comments
Labels

Comments

@mauriciocirelli
Copy link

Description

Dear,

I am facing a Typescript issue using redisClient.json.get(key) function:

Type instantiation is excessively deep and possibly infinite

Has anyone seen this before?

Node.js Version

v20.11.0

Redis Server Version

7.2.4 (redis-stack)

Node Redis Version

4.6.15

Platform

Docker (Linux Container)

Logs

No response

@mauriciocirelli
Copy link
Author

Hi,

Could fix it by casting it: (await redisClient.json.get(key)) as any

@ninox14
Copy link

ninox14 commented Feb 19, 2025

what even the point of writing it in ts when you have to typecast every single thing ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants