HYUNGU, KANG 5 年前
父节点
当前提交
da83d7cc8c
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/WebViewTypes.ts

+ 2
- 2
src/WebViewTypes.ts 查看文件

227
   injectedJavaScriptBeforeContentLoaded?: string;
227
   injectedJavaScriptBeforeContentLoaded?: string;
228
   mediaPlaybackRequiresUserAction?: boolean;
228
   mediaPlaybackRequiresUserAction?: boolean;
229
   messagingEnabled: boolean;
229
   messagingEnabled: boolean;
230
-  onScroll?: (event: NativeScrollEvent) => void;
230
+  onScroll?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
231
   onLoadingError: (event: WebViewErrorEvent) => void;
231
   onLoadingError: (event: WebViewErrorEvent) => void;
232
   onLoadingFinish: (event: WebViewNavigationEvent) => void;
232
   onLoadingFinish: (event: WebViewNavigationEvent) => void;
233
   onLoadingProgress: (event: WebViewProgressEvent) => void;
233
   onLoadingProgress: (event: WebViewProgressEvent) => void;
788
   /**
788
   /**
789
    * Function that is invoked when the `WebView` scrolls.
789
    * Function that is invoked when the `WebView` scrolls.
790
    */
790
    */
791
-  onScroll?: (event: NativeScrollEvent) => void;
791
+  onScroll?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
792
 
792
 
793
   /**
793
   /**
794
    * Function that is invoked when the `WebView` has finished loading.
794
    * Function that is invoked when the `WebView` has finished loading.