fix(Table): type sort prop

This commit is contained in:
Benjamin Canac
2023-05-30 18:03:24 +02:00
parent 40b6884424
commit 3ba0aedcba

View File

@@ -78,7 +78,7 @@ export default defineComponent({
default: 'label'
},
sort: {
type: Object,
type: Object as PropType<{ column: string, direction: 'asc' | 'desc' }>,
default: () => ({})
},
sortButton: {