Property 'teams' does not exist on type 'Prettify<{ id: string; name: string; createdAt: Date; ...
I updated the better-auth libary now my types does not work, teams seams like not exist in my types, which should work.
Property 'teams' does not exist on type 'Prettify<{ id: string; name: string; createdAt: Date; slug: string; metadata?: any; logo?: string | null | undefined; } & { members: ({ id: string; createdAt: Date; userId: string; organizationId: string; role: string; teamId?: string | undefined; } & { ...; })[]; invitations: { ...; }[]; }>'.ts(2339)
auth-client.js
0 Replies