Skip to content

Commit 318c718

Browse files
committed
fix types
1 parent cfe7544 commit 318c718

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/src/components/tiptap/extension/TiptapExtensionBinding.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script setup>
1+
<script setup lang="ts">
22
import { computed, ref, watch } from 'vue'
33
import { NodeViewWrapper, NodeViewContent, nodeViewProps } from '@tiptap/vue-3'
44
import { useI18n } from 'vue-i18n'
@@ -40,7 +40,7 @@ function removeBinding() {
4040
isPopoverOpen.value = false
4141
}
4242
43-
function handleKeyDown(event) {
43+
function handleKeyDown(event: KeyboardEvent) {
4444
if (event.key === 'Enter') {
4545
event.preventDefault()
4646
applyBinding()

0 commit comments

Comments
 (0)