|
@@ -2,7 +2,7 @@ import { Component } from 'react';
|
2
|
2
|
// eslint-disable-next-line
|
3
|
3
|
import { IOSWebViewProps, AndroidWebViewProps } from './lib/WebViewTypes';
|
4
|
4
|
|
5
|
|
-class WebView extends Component<IOSWebViewProps & AndroidWebViewProps> {
|
|
5
|
+declare class WebView extends Component<IOSWebViewProps & AndroidWebViewProps> {
|
6
|
6
|
/**
|
7
|
7
|
* Go back one page in the webview's history.
|
8
|
8
|
*/
|
|
@@ -32,7 +32,7 @@ class WebView extends Component<IOSWebViewProps & AndroidWebViewProps> {
|
32
|
32
|
* Executes the JavaScript string.
|
33
|
33
|
*/
|
34
|
34
|
injectJavaScript: (script: string) => void;
|
35
|
|
-};
|
|
35
|
+}
|
36
|
36
|
|
37
|
37
|
export {WebView};
|
38
|
38
|
export default WebView;
|