-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
outdated dependency @types/cookie causes type mismatch #690
Comments
hello sir. I got the same error. |
Hello, I got the same error. How do we solve that? |
I couldn't find a better way other than just use type assertion, ugly I know: await getIronSession<SessionData>(cookies() as any, config) |
I tried something similar, it worked, thank you very much! |
Hey there,
I'm seeing a TS error when passing Nextjs's
cookies()
function togetIronSession
It seems like the
priority
attribute has been added to the types in@types/cookie@0.6.0
, but this library is still on0.5.4
The text was updated successfully, but these errors were encountered: