Explorar o código

Fix a wrong argument name.

NaotoshiFujita %!s(int64=5) %!d(string=hai) anos
pai
achega
be582d65e9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/js/splide.d.ts

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

@@ -647,7 +647,7 @@ export class Splide {
 	off( events: keyof ElementEventMap, elm?: Element | Window | Document ): this;
 	off( events: string, elm?: Element | Window | Document ): this;
 
-	emit( events: string, ...args: any[] ): this;
+	emit( event: string, ...args: any[] ): this;
 
 	go( control: string | number, wait?: boolean ): this;