Change type of modelValue
This commit is contained in:
parent
ebc2286116
commit
dba1e8c276
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user