chore(PullRefresh): use tsx

This commit is contained in:
chenjiahan
2020-10-10 18:00:22 +08:00
parent 99d42852e5
commit 5370eaafce
2 changed files with 30 additions and 17 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { isIOS as checkIsIOS } from '../validate/system';
type ScrollElement = HTMLElement | Window;
type ScrollElement = Element | Window;
function isWindow(val: unknown): val is Window {
return val === window;