Explorar el Código

Bug Fix: The return type of is() was wrong.

NaotoshiFujita hace 5 años
padre
commit
70f7f8bb6b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/js/splide.d.ts

+ 1 - 1
src/js/splide.d.ts

@@ -651,7 +651,7 @@ export class Splide {
 
 
 	go( control: string | number, wait?: boolean ): this;
 	go( control: string | number, wait?: boolean ): this;
 
 
-	is( type: SplideType ): this;
+	is( type: SplideType ): boolean;
 
 
 	add( slide: HTMLElement | string, index?: number ): this;
 	add( slide: HTMLElement | string, index?: number ): this;