diff --git a/package/component/src/component/carouselItem/index.vue b/package/component/src/component/carouselItem/index.vue index 536c4be5..c84c2b1a 100644 --- a/package/component/src/component/carouselItem/index.vue +++ b/package/component/src/component/carouselItem/index.vue @@ -14,9 +14,11 @@ import { WritableComputedRef, } from "vue"; -const props = defineProps<{ +export interface CarouselItemProps { id: string; -}>(); +} + +const props = defineProps(); const active = inject("active") as WritableComputedRef; const slotsChange: Ref = inject("slotsChange") as Ref;