Change type of modelValue

This commit is contained in:
Jan Bader 2022-02-04 21:18:24 +00:00
parent ebc2286116
commit dba1e8c276

View File

@ -1,5 +1,5 @@
<script lang="ts">
import { defineComponent } from "vue"
import { defineComponent, PropType } from "vue"
interface Suggestion {
ID : string
@ -21,7 +21,7 @@ export default defineComponent({
} as Data
},
props: {
modelValue: String,
modelValue: Object as PropType<Suggestion>,
type: String
},
watch: {