From 4a9b45dc01fc2a9194c998f72c87aeaf2392cd61 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期五, 20 九月 2024 12:04:16 +0800
Subject: [PATCH] 一些更改

---
 src/directives/ripple/index.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/directives/ripple/index.ts b/src/directives/ripple/index.ts
index 3da8014..d256497 100644
--- a/src/directives/ripple/index.ts
+++ b/src/directives/ripple/index.ts
@@ -28,9 +28,9 @@
     const background = bg || RippleDirective.background;
     const zIndex = RippleDirective.zIndex;
 
-    el.addEventListener(options.event, (event: EventType) => {
+    el.addEventListener(options.event, (event: Event) => {
       rippler({
-        event,
+        event: event as EventType,
         el,
         background,
         zIndex,

--
Gitblit v1.9.3