瀏覽代碼

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

NaotoshiFujita 5 年之前
父節點
當前提交
70f7f8bb6b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 
-	is( type: SplideType ): this;
+	is( type: SplideType ): boolean;
 
 	add( slide: HTMLElement | string, index?: number ): this;