Skip to content

Commit 563f6fc

Browse files
committed
refactor: change CarouselConfig interface to type for improved clarity
1 parent 3915e08 commit 563f6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export type SlideEffect = (typeof SLIDE_EFFECTS)[number]
2828

2929
export type SnapAlign = (typeof SNAP_ALIGN_OPTIONS)[number]
3030

31-
export interface CarouselConfig {
31+
export type CarouselConfig = {
3232
autoplay?: number
3333
breakpointMode?: BreakpointMode
3434
breakpoints?: Breakpoints

0 commit comments

Comments
 (0)