Inferring types on the server
Is it also possible to infer the return-types of specific API routes on the server?
I am creating a better-auth wrapper using effect-ts for my application and am missing some type-safety on the server.
gives the following type
1 Reply
^ This is my config if that matters
Okay, I think this might actually be a bug. Removing the plugin key (with an empty array as value) seems to fix the issue.