Git Product home page Git Product logo

Comments (6)

rrostyslav avatar rrostyslav commented on June 22, 2024 1
Full error text: Type 'Redis' is not assignable to type 'RedisClient | Redis | Cluster | undefined'. Type 'import("c:/Users/rrost/Documents/JS/train/graphql/node_modules/@types/ioredis/index").Redis' is not assignable to type 'import("c:/Users/rrost/Documents/JS/train/graphql/node_modules/@types/connect-redis/node_modules/@types/ioredis/index").Redis'. Types of property 'hset' are incompatible. Type 'OverloadedKeyedHashCommand' is not assignable to type 'OverloadedKeyedHashCommand'. Types of parameters 'cb' and 'cb' are incompatible. Types of parameters 'res' and 'res' are incompatible. Type 'number' is not assignable to type '"OK"'.ts(2322) index.d.ts(28, 13): The expected type comes from property 'client' which is declared here on type 'RedisStoreOptions'

from lireddit.

rrostyslav avatar rrostyslav commented on June 22, 2024 1

I using as any for now👌. I know this is bad idea

from lireddit.

Barklim avatar Barklim commented on June 22, 2024 1

@baptistemcn

photo_2021-01-30_21-00-10

from lireddit.

Barklim avatar Barklim commented on June 22, 2024

@rrachinskiy Привет, нашел в чем проблема? У меня сейчас та же проблема.

from lireddit.

baptistemcn avatar baptistemcn commented on June 22, 2024

Hey @rrachinskiy, can you send a screen with your context file maybe ? 👌🏻

from lireddit.

rrostyslav avatar rrostyslav commented on June 22, 2024

It's seems like this issue has been fixed. Yesterday I tried to use express-session on my new pet project. I am not using GraphQL. It's simple REST API. Now it is working without any type. Check here .
Closing issue

from lireddit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.