Argument of type is not assignable
Hello! I just updated to Better Auth v1.3 to try out the new SvelteKit cookies plugin, I'm using the code on the changelog but I'm getting this problem on getRequestEvent in VS Code:
Here's the code:
It looks like it's working correctly so it may just be cosmetic. Thank you!
Solution:Jump to solution
sveltekitCookies(async () => getRequestEvent())
seems to have resolved this for me1 Reply
Solution
sveltekitCookies(async () => getRequestEvent())
seems to have resolved this for me