From 46acb658068dd12ea8a87bf405d705f0650864c1 Mon Sep 17 00:00:00 2001 From: yiwwhl Date: Mon, 29 May 2023 01:26:23 +0800 Subject: [PATCH] type: update any with void (#42690) --- components/_util/scrollTo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/_util/scrollTo.ts b/components/_util/scrollTo.ts index 1197fc442c..fb6141cd5b 100644 --- a/components/_util/scrollTo.ts +++ b/components/_util/scrollTo.ts @@ -6,7 +6,7 @@ interface ScrollToOptions { /** Scroll container, default as window */ getContainer?: () => HTMLElement | Window | Document; /** Scroll end callback */ - callback?: () => any; + callback?: () => void; /** Animation duration, default as 450 */ duration?: number; }