Skip to content

Commit 1fbc9cc

Browse files
committed
refactor(CTable): update prop types
1 parent 68e5e77 commit 1fbc9cc

File tree

1 file changed

+2
-2
lines changed
  • packages/coreui-vue/src/components/table

1 file changed

+2
-2
lines changed

packages/coreui-vue/src/components/table/CTable.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const CTable = defineComponent({
117117
* @since 4.5.0
118118
*/
119119
columns: {
120-
type: Array as PropType<Column[] | string[]>,
120+
type: Array as PropType<(Column | string)[]>,
121121
required: false,
122122
},
123123
/**
@@ -137,7 +137,7 @@ const CTable = defineComponent({
137137
* @since 4.5.0
138138
*/
139139
footer: {
140-
type: Array as PropType<FooterItem[] | string[]>,
140+
type: Array as PropType<(FooterItem | string)[]>,
141141
required: false,
142142
},
143143
/**

0 commit comments

Comments
 (0)