Skip to content

Commit 42eec07

Browse files
authored
fix(types): fix effect param type (#7945)
1 parent 6aa8d05 commit 42eec07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/swiper-options.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export interface SwiperOptions {
210210
*
211211
* @default 'slide'
212212
*/
213-
effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip' | 'creative' | 'cards' | string;
213+
effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip' | 'creative' | 'cards' | (string & {});
214214

215215
/**
216216
* Fire Transition/SlideChange/Start/End events on swiper initialization.

0 commit comments

Comments
 (0)