State incorrectly typed as any
Hi!
I'm pretty new to Nuxt modules, but I am making some progress.
For my module I want to have a state which tracks the auth state.
I wrote this in
The state works fine - as in the value is updated correctly - but it is typed as
How would I fix this?
I'm pretty new to Nuxt modules, but I am making some progress.
For my module I want to have a state which tracks the auth state.
I wrote this in
src/runtime/composables/states.ts:The state works fine - as in the value is updated correctly - but it is typed as
any instead of Ref<boolean | null>.How would I fix this?