How can I trigger a rebuild of BA's generated types?
For some reason BA has lost its typings after I updated some of my packages (including BA) and now the stripe specific types are missing. IDE keeps telling me that stripe functions like the
upgradeSubscription
or listActiveSubscriptions
do not exist, but the app works perfectly fine. Is there a way to trigger BA's type generation? Couldn't find anything about it in the cli docs.
2 Replies
We don't generate types.
Can you make sure both @better-auth/stripe and better-auth are on the same version?
They are the same version, also now for some reason the types are suddenly back here again, strange 🤷♂️
I had it before too where I updated the BA version. Tbf tho, i deleted both node_modules and package_lock.json and reinstalled everything. I think that's the cause, but idk why.