Browse Source

type: update any with void (#42690)

pull/42692/head
yiwwhl 2 years ago
committed by GitHub
parent
commit
46acb65806
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/_util/scrollTo.ts

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

Loading…
Cancel
Save