TS2305: Module '"vue-demi"' has no exported member 'ComponentPublicInstance'.
See original GitHub issue$ yarn build
node_modules/@vueuse/core/index.d.ts:5:42 - error TS2305: Module '"vue-demi"' has no exported member 'ComponentPublicInstance'.
5 import { Ref, InjectionKey, ComputedRef, ComponentPublicInstance, UnwrapRef, ToRefs } from 'vue-demi';
~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Vue / Typescript, got Module '"*.vue"' has no exported member
I have to do this every time I created a import or export anything with TS. Share.
Read more >Module '"vue"' has no exported member 'ref' - Get Help
Hey, I created NUXT project with typescript and when I am trying to use ref this error pops out. Module '“vue”' has no...
Read more >no exported member named 'DefineComponent' -
ERROR in /path/to/node_modules/vue-echarts/dist/index.d.ts(1,90): 1:90 Module '"../../vue-demi/lib/index.js"' has no exported member ...
Read more >Update Vue and related dependencies (major) - autoclosed
... runtime-dom: patchDOMProps should not set _value if element is custom element (#4839) (1701bf3); types: export ref-macros.d.ts (1245709) ...
Read more >解决TS2614 Module “.vue“ has no exported ... - CSDN博客
解决TS2614: Module “*.vue” has no exported member(Vue3+TypeScript)问题解决问题最近使用TS+Vue3.2写项目时碰到个问题:Vue组件中定义了一个接口 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please upgrade
@vue/composition-api
to v1.2.1 which added this type.I agree, it is a vue-demi issue and vue-demi is a dep. of vueuse