emil
emil
Explore posts from servers
TTCTheo's Typesafe Cult
Created by emil on 8/1/2023 in #questions
Weird auth.js type behaviour with custom providers
I made a custom magic link email login provider for auth.js and it all works fine and dandy with no type errors to be seen; however, as soon as do a full app typecheck, while ignoring node modules on sveltekit, somehow the auth.js library types feelsverysadmanwowcry has anyone else ran to a similar issue? There is nothing inherently wrong with my ts config and my custom provider abides to the auth.js types for providers too.
2 replies
TTCTheo's Typesafe Cult
Created by emil on 7/5/2023 in #questions
TypeError: client[procedureType] is not a function weirdness
I'm trying to make an adapter for auth.js and want to call my backend via the adapter with tRPC proxy client. For some weird reason I get this error and don't know why exactly :// if anyone knows what might be going on
2 replies