auth.api.getSession() returns unknown for user and session
Package: better-auth@1.2.8
I'm using better-auth with Drizzle ORM, and although the system works correctly at runtime, the types I get from auth.api.getSession() are not as expected.
The inferred type is: const session: { session: unknown; user: unknown; } | null
Could you confirm if this is expected? Or if there's a way to have the types automatically inferred from the adapter?