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
It seems that type inference does not work properly when using it in a component after creating a custom plugin by following the guide in the link.
In the case of the newly created $first plugin, the type is any.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Darwin
v16.15.1
2.16.0-27616340.013f051b
[email protected]
webpack
bridge
,head
,css
,plugins
,components
,buildModules
,modules
,axios
,vuetify
,build
,typescript
,vite
,serverHandlers
,devServerHandlers
@nuxtjs/[email protected]
()
,@nuxtjs/[email protected]
,@pinia/[email protected]
,@nuxt/[email protected]
Reproduction
https://stackblitz.com/edit/github-er4gxj?file=pages%2Findex.vue
Describe the bug
https://v3.nuxtjs.org/guide/directory-structure/plugins#automatically-providing-helpers
It seems that type inference does not work properly when using it in a component after creating a custom plugin by following the guide in the link.
In the case of the newly created $first plugin, the type is any.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: