You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 0.6, I used to be able to extend the UserSession object with my own fields. When I upgraded to version 1.0.0-beta.2, it no longer works even though the documentation says it should. I've tried placing the auth.d.ts file in different places in my Nuxt 3 application. I also tried leaving it in the same place where it used to work. No matter what I do, VSCode no longer recognizes my new fields. I've followed these directions, to no avail. It appears that the change of using the ./types file doesn't propagate the types anymore.
In version 0.6, I used to be able to extend the UserSession object with my own fields. When I upgraded to version 1.0.0-beta.2, it no longer works even though the documentation says it should. I've tried placing the auth.d.ts file in different places in my Nuxt 3 application. I also tried leaving it in the same place where it used to work. No matter what I do, VSCode no longer recognizes my new fields. I've followed these directions, to no avail. It appears that the change of using the ./types file doesn't propagate the types anymore.
nuxt-oidc-auth/docs/content/4.composable.md
Line 223 in 1c41ec6
Here's an altered version of my auth.d.ts file. VScode no longer understands these changes.
I'm not sure what else to try.
The text was updated successfully, but these errors were encountered: