chore: fix lint issues

This commit is contained in:
chenjiahan
2020-08-21 17:45:51 +08:00
parent 9754a80597
commit 58650aeb9b
9 changed files with 345 additions and 248 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ export function scrollTopTo(
scroller: HTMLElement,
to: number,
duration: number,
callback: Function
callback: () => void
) {
let current = getScrollTop(scroller);