HYUNGU, KANG 4 years ago
parent
commit
da83d7cc8c
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/WebViewTypes.ts

+ 2
- 2
src/WebViewTypes.ts View File

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.