Type '{ install: (Vue: VueConstructor<Vue>) => void; }' has no call signatures
MartinX3 opened this issue · comments
Martin commented
Using IntelliJ IDEA, vue 2.6.14, vuetify 2.6.7 and typescript 4.7.4 every export default defineComponent({
throws the error:
TS2349: This expression is not callable. Type '{ install: (Vue: VueConstructor<Vue>) => void; }' has no call signatures.
export default const Plugin: {install: (Vue: VueConstructor) => void}
@vue/composition-api
Anthony Fu commented
We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.
Martin commented
Anthony Fu commented
{ defineComponent }
Martin commented
Please shoot me.
IntelliJ bullied me with its automatic generated import.
Thank you.