Open Metam opened 11 months ago
events can be described like this
emit = defineEmits([
/**
* logout user
* @event logout
* @param ...
*/
'logout'
])
I stumbled upon https://stackoverflow.com/questions/72003493/how-to-use-jsdoc-to-document-a-vue-component-with-script-setup to see how to add component description when you use <script setup>
and I can confirm adding another <script>
tag with description alongside <script setup>
is not working.
what am I doing wrong? component description, slot binging, custom jsdoc not working