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
I get the error Default export of the module has or is using private name 'RefType'.
When I run vue-tsc --declaration --emitDeclarationOnly --outDir dist
Getting same error in .ts, please report to vue repo.
test.ts
import{defineComponent}from'vue';// Default export of the module has or is using private name 'RefType'.ts(4082)exportdefaultdefineComponent({setup(){constcount=$ref(0);functiongetCount(){// Is error, use `$$(count).value` can fix. but I think it should be allowed.returncount;}return{
getCount,count: $$(count),};},});
I get the error
Default export of the module has or is using private name 'RefType'.
When I run
vue-tsc --declaration --emitDeclarationOnly --outDir dist
https://stackblitz.com/edit/vitejs-vite-grf6ym?file=src%2Fcomponents%2FHelloWorld.vue
The text was updated successfully, but these errors were encountered: