Skip to content

Commit b49e08f

Browse files
committed
build: fix failing checks
1 parent c1c5cec commit b49e08f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Carousel/carouselProps.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ export const carouselProps = {
124124
preventExcessiveDragging: {
125125
default: false,
126126
type: Boolean,
127-
validator(value: boolean, props: CarouselConfig) {
127+
validator(value: boolean, props: { wrapAround?: boolean }) {
128128
if (value && props.wrapAround)
129-
console.warn(
129+
console.warn( /* eslint-disable-line no-console */
130130
'[vue3-carousel warn]: preventExcessiveDragging cannot be used with wrapAround. ' +
131131
'The preventExcessiveDragging setting will be ignored.'
132132
);

0 commit comments

Comments
 (0)