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; }