Export disappeared

import { type UserWithRole } from 'better-auth/plugins';
import { type UserWithRole } from 'better-auth/plugins';
This export suddenly disappeared from the library, why did it get private?
Solution:
I'm not sure why it got private, but I do think it's better practice to use the inferred User from your auth instance as that should include role if you're using the admin plugin
Jump to solution
2 Replies
Solution
Ping
Ping2mo ago
I'm not sure why it got private, but I do think it's better practice to use the inferred User from your auth instance as that should include role if you're using the admin plugin
kWAY
kWAYOP2mo ago
ty!

Did you find this page helpful?