Skip to content

Commit 4001557

Browse files
authored
fix: Missing const in defineEmits (#56)
Add `const emit =` #54
1 parent 94adea5 commit 4001557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/vue/vue-script.code-snippets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"Vue Define Emits": {
111111
"prefix": "vdefineemits",
112112
"body": [
113-
"defineEmits<{",
113+
"const emit = defineEmits<{",
114114
"\t${1:eventName}: [${0}]",
115115
"}>()"
116116
],

0 commit comments

Comments
 (0)