Naotoshi Fujita 2 лет назад
Родитель
Сommit
701dd837ef
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/js/core/Splide/Splide.ts

+ 1 - 1
src/js/core/Splide/Splide.ts

@@ -48,7 +48,7 @@ export class Splide {
   /**
    * The EventBusObject object.
    */
-  readonly event = EventInterface();
+  readonly event = EventInterface<EventMap & Record<string, AnyFunction>>();
 
   /**
    * The collection of all component objects.