Skip to content

Commit c1c5cec

Browse files
committed
style: fix implict any of props in validator
1 parent 42d58e8 commit c1c5cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Carousel/carouselProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export const carouselProps = {
124124
preventExcessiveDragging: {
125125
default: false,
126126
type: Boolean,
127-
validator(value: boolean, props) {
127+
validator(value: boolean, props: CarouselConfig) {
128128
if (value && props.wrapAround)
129129
console.warn(
130130
'[vue3-carousel warn]: preventExcessiveDragging cannot be used with wrapAround. ' +

0 commit comments

Comments
 (0)