this is of type any in actions using @pinia/nuxt #1451
Answered
by
posva
P4sca1
asked this question in
Help and Questions
-
Reproductionhttps://github.com/P4sca1/nuxt-pinia-action-type-this Steps to reproduce the bug
Expected behavior
Actual behavior
Additional information
|
Beta Was this translation helpful? Give feedback.
Answered by
posva
Jul 13, 2022
Replies: 1 comment 1 reply
-
You need to add |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
P4sca1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to add
strict: true
to your tsconfig.json for pinia to work. Maybe worth reporting in Nuxt asstrict: true
is a good practice.