1
0

fix: some typechecks

Most of what's still left now is related to models not exporting visible properties for typescript, that's a problem for another day.
This commit is contained in:
kolaente
2022-01-16 22:24:51 +01:00
parent 654f5f8f57
commit 26a94c7e8c
7 changed files with 24 additions and 17 deletions

View File

@ -13,6 +13,7 @@
import {ref, computed} from 'vue'
import {useStore} from 'vuex'
import Multiselect from '@/components/input/multiselect.vue'
import NamespaceModel from '@/models/namespace'
const emit = defineEmits(['selected'])
@ -25,7 +26,7 @@ function findNamespaces(newQuery: string) {
query.value = newQuery
}
function select(namespace) {
function select(namespace: NamespaceModel) {
emit('selected', namespace)
}
</script>