Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Types of prisma-session-store taking over regular prisma types #112

Open
rowan-vr opened this issue Mar 21, 2023 · 5 comments
Open

Types of prisma-session-store taking over regular prisma types #112

rowan-vr opened this issue Mar 21, 2023 · 5 comments

Comments

@rowan-vr
Copy link

Hi,

I've been having an issue where the types of prisma-session-store are 'overruling' the types of Prisma (see screenshot). Any idea how to fix this?

image

@kleydon
Copy link
Owner

kleydon commented Mar 21, 2023

Hi @rowan-vr - thanks for the post.

I'm not 100% certain, but I think this might be a syntax error.

If you remove "args:", and just include the {where:...}, does VS code stop complaining?

@rowan-vr
Copy link
Author

Hi, thanks for the quick reply!

This is not in VS Code, I'm using Webstorm.
The args: is not actually there, it's the way Webstorm shows what variable it is.

This issue goes away when I completely delete the prisma.d.ts & prisma.js fils from the dependency in the @types folder
node_modules/@quixo3/prisma-session-store/dist/@types to be precise.

I hope this helps!

@kleydon
Copy link
Owner

kleydon commented Mar 21, 2023

Ah - ok... Shoot; I don't have an "easy fix" in this case.

Note: My time's pretty limited to work on this right now; I'm hoping the wider community that uses this library can step in here. (If you have any epiphanies, I'm sure others will appreciate them!)

@Mydayyy
Copy link

Mydayyy commented Mar 28, 2023

Ha, I thought was going crazy. I am running into the exact same issue - and honestly I am not sure whether its webstorms fault or not, is someone able to reproduce this in vscode?

I'll try to find out more since its actually bugging me.

@kleydon
Copy link
Owner

kleydon commented Mar 28, 2023

@Mydayyy Appreciate it (if you happen to get a chance)!

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

No branches or pull requests

3 participants