From 07dae2e6119509a651adbadc9dfba29e225c1fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 16 Aug 2023 09:40:12 +0300 Subject: [PATCH] Refactor #4274 - For Image --- components/lib/image/Image.d.ts | 4 ++-- components/lib/image/Image.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/lib/image/Image.d.ts b/components/lib/image/Image.d.ts index 0546bf671..af8c29ffc 100644 --- a/components/lib/image/Image.d.ts +++ b/components/lib/image/Image.d.ts @@ -232,7 +232,7 @@ export interface ImageSlots { /** * Image error function. */ - onError: void; + onError(): void; }): VNode[]; /** * Custom preview template. @@ -249,7 +249,7 @@ export interface ImageSlots { /** * Preview click function. */ - onClick: void; + onClick(): void; }): VNode[]; } diff --git a/components/lib/image/Image.vue b/components/lib/image/Image.vue index 3c9be3a5e..29836875b 100644 --- a/components/lib/image/Image.vue +++ b/components/lib/image/Image.vue @@ -43,7 +43,7 @@
- +