Change type of modelValue
This commit is contained in:
parent
ebc2286116
commit
dba1e8c276
@ -1,5 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from "vue"
|
import { defineComponent, PropType } from "vue"
|
||||||
|
|
||||||
interface Suggestion {
|
interface Suggestion {
|
||||||
ID : string
|
ID : string
|
||||||
@ -21,7 +21,7 @@ export default defineComponent({
|
|||||||
} as Data
|
} as Data
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
modelValue: String,
|
modelValue: Object as PropType<Suggestion>,
|
||||||
type: String
|
type: String
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user