I use mixins retuned from a function,
mixin: [getMixin({})]
function getMixin(config) {
return defineComponent({
mixin: [myMixin, myOtherMixin]
})
}
but WEBSTORM fails to recognise that the methods are from the mixin for some reason. At the same time when I use the mixin directly in my vue component the methods are accurately recognised by the IDE.
mixin: [myMixin]
I tried type script remedies too, like defining the return type of the function as same as the mixin tried to wrap the return with definComponent function