Created
March 9, 2022 20:51
-
-
Save danielkellyio/773d37ccc89ba069d650dcca09b402a1 to your computer and use it in GitHub Desktop.
Vue/TS defineEmits VS Code Snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Vue defineEmits":{ | |
"prefix": "defineEmits", | |
"body" : [ | |
"defineEmits<{", | |
" (e: \"${1:event}\", ${2:payload}: { $3 }): void;", | |
"}>();", | |
], | |
"description": "defineEmits type declaration for Vue.js components" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instructions for Use