I have a vue3 component named MyButton which acts as a wrapper for the vuetify v-btn component. I am trying to figure out a way to make MyButton props inherit all of the props that v-btn has and also enable autocomplete feature in IntelliJ or VSCode. Is it possible to achieve this functionality?
Currently, the code below effectively passes props from MyButton to VBtn, but I'm unable to access autocomplete features in Intellij or VScode.
<template>
<v-btn v-bind="$attrs">
<slot />
</v-btn>
</template>
<script setup lang="ts">
import { defineComponent } from 'vue';
defineComponent({
name: 'MyButton',
});
</script>