We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c54e2a commit a32fb3bCopy full SHA for a32fb3b
packages/nuxt/src/runtime/composables.ts
@@ -1,4 +1,5 @@
1
import { useNuxtApp } from '#app'
2
+import type { Pinia } from 'pinia'
3
export * from 'pinia'
4
-export const usePinia = () => useNuxtApp().$pinia
5
+export const usePinia = () => useNuxtApp().$pinia as Pinia
0 commit comments