Skip to content

Commit ebcdcd0

Browse files
committed
fix: more issues
1 parent dd9f621 commit ebcdcd0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

frontend/src/components/input/Multiselect.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
</template>
125125

126126
<!-- @ts-expect-error - Vue 3 generic component export inference issue -->
127-
<script setup lang="ts" generic="T extends Record<string, unknown>">
127+
<script setup lang="ts" generic="T extends Record<string, unknown> = Record<string, unknown>">
128128
import {computed, onBeforeUnmount, onMounted, ref, toRefs, watch, type ComponentPublicInstance} from 'vue'
129129
import {useI18n} from 'vue-i18n'
130130
@@ -442,6 +442,11 @@ function focus() {
442442
}
443443
</script>
444444

445+
<script lang="ts">
446+
import type { Component } from 'vue'
447+
export default {} as Component
448+
</script>
449+
445450
<style lang="scss" scoped>
446451
.multiselect {
447452
width: 100%;

frontend/src/components/project/views/ProjectKanban.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
tag="ul"
154154
:item-key="(task: ITask) => `bucket${bucket.id}-task${task.id}`"
155155
:component-data="getTaskDraggableTaskComponentData(bucket)"
156-
@update:modelValue="(tasks) => updateTasks(bucket.id, tasks)"
156+
@update:modelValue="(tasks: IBucket['tasks']) => updateTasks(bucket.id, tasks)"
157157
@start="() => dragstart(bucket)"
158158
@end="updateTaskPosition"
159159
>

0 commit comments

Comments
 (0)