chore(types): remove partials

This commit is contained in:
Benjamin Canac
2023-07-20 18:11:11 +02:00
parent beffde1849
commit 4f4a659ccc
11 changed files with 39 additions and 39 deletions

View File

@@ -109,7 +109,7 @@ export default defineComponent({
default: () => ({})
},
sortButton: {
type: Object as PropType<Partial<Button>>,
type: Object as PropType<Button>,
default: () => appConfig.ui.table.default.sortButton
},
sortAscIcon: {

View File

@@ -138,7 +138,7 @@ export default defineComponent({
default: () => appConfig.ui.commandPalette.default.selectedIcon
},
closeButton: {
type: Object as PropType<Partial<Button>>,
type: Object as PropType<Button>,
default: () => appConfig.ui.commandPalette.default.closeButton
},
emptyState: {

View File

@@ -82,19 +82,19 @@ export default defineComponent({
}
},
activeButton: {
type: Object as PropType<Partial<Button>>,
type: Object as PropType<Button>,
default: () => appConfig.ui.pagination.default.activeButton
},
inactiveButton: {
type: Object as PropType<Partial<Button>>,
type: Object as PropType<Button>,
default: () => appConfig.ui.pagination.default.inactiveButton
},
prevButton: {
type: Object as PropType<Partial<Button>>,
type: Object as PropType<Button>,
default: () => appConfig.ui.pagination.default.prevButton
},
nextButton: {
type: Object as PropType<Partial<Button>>,
type: Object as PropType<Button>,
default: () => appConfig.ui.pagination.default.nextButton
},
divider: {

View File

@@ -81,11 +81,11 @@ export default defineComponent({
default: () => appConfig.ui.notification.default.icon
},
avatar: {
type: Object as PropType<Partial<Avatar>>,
type: Object as PropType<Avatar>,
default: null
},
closeButton: {
type: Object as PropType<Partial<Button>>,
type: Object as PropType<Button>,
default: () => appConfig.ui.notification.default.closeButton
},
timeout: {