-
-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
Description
System info
- Operating System: Windows_NT
- Node Version: v20.17.0
- Nuxt Version: 3.13.0
- CLI Version: 3.13.1
- Nitro Version: 2.9.7
- Package Manager: [email protected]
- Builder: -
- User Config: devtools, modules, ssr
- Runtime Modules: @vueuse/[email protected], @vueuse/motion/[email protected]
- Build Modules: -
- Builder: -
- User Config: devtools, modules, ssr
- Runtime Modules: @vueuse/[email protected], @vueuse/motion/[email protected]
- Builder: -
- User Config: devtools, modules, ssr
- Builder: -
- Builder: -
- User Config: devtools, modules, ssr
- Runtime Modules: @vueuse/[email protected], @vueuse/motion/[email protected]
- Build Modules: -
Reproduction
https://github.com/cloudfinch-shivansh/vueuse-motion-err
Describe the bug
I am using constants from the utils folder, which are auto-imported directly in the template. However, I am receiving the following TypeScript error:
Property 'constant' does not exist on type 'CreateComponentPublicInstance<Readonly<ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 12 more ..., {}>'.
Despite this error, the code is working fine in the browser.
The issue occurs when I install @vueuse/motion.
On uninstalling @vueuse/motion, the TypeScript error is resolved.
Additional context
No response
Logs
No response
luigigorlero