From 77c20238695b690ea34cf49538bbc55ccb5cae98 Mon Sep 17 00:00:00 2001 From: Soybean Date: Thu, 25 Apr 2024 01:14:25 +0800 Subject: [PATCH] fix(projects): fix type error --- .../materials/src/libs/page-tab/index.vue | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/packages/materials/src/libs/page-tab/index.vue b/packages/materials/src/libs/page-tab/index.vue index 1a6da1a..6f93115 100644 --- a/packages/materials/src/libs/page-tab/index.vue +++ b/packages/materials/src/libs/page-tab/index.vue @@ -25,31 +25,6 @@ interface Emits { const emit = defineEmits(); -type SlotFn = (props?: Record) => any; - -type Slots = { - /** - * Slot - * - * The center content of the tab - */ - default?: SlotFn; - /** - * Slot - * - * The left content of the tab - */ - prefix?: SlotFn; - /** - * Slot - * - * The right content of the tab - */ - suffix?: SlotFn; -}; - -defineSlots(); - const activeTabComponent = computed(() => { const { mode, chromeClass, buttonClass } = props;