next-auth session callback not recognizing new user property
I updated the User schema in schema.prisma like this:
and next-auth.d.ts
then inside [...nextauth].ts I have this:
The user.id works fine and it isn't complaining. but user.stripeCustomerId is...
I have tried:
1. Restarting TS server.
2. npx prisma generate
3. Restart VS code
Please let me know if you have stumbled upon this / know what the problem is. I am able to console.log(user.stripeCustomerId) so I know it is working.
and next-auth.d.ts
then inside [...nextauth].ts I have this:
The user.id works fine and it isn't complaining. but user.stripeCustomerId is...
I have tried:
1. Restarting TS server.
2. npx prisma generate
3. Restart VS code
Please let me know if you have stumbled upon this / know what the problem is. I am able to console.log(user.stripeCustomerId) so I know it is working.

