Fix(types): Update Typescript definition file, declaring WebView class as a generic class (#1604)
Co-authored-by: iou90kant <dekang.liu@guokr.com>
This commit is contained in:
parent
4840eeb588
commit
4c4399cd57
|
@ -6,7 +6,7 @@ export { FileDownload, WebViewMessageEvent, WebViewNavigation } from "./lib/WebV
|
||||||
|
|
||||||
export type WebViewProps = IOSWebViewProps & AndroidWebViewProps;
|
export type WebViewProps = IOSWebViewProps & AndroidWebViewProps;
|
||||||
|
|
||||||
declare class WebView extends Component<WebViewProps> {
|
declare class WebView<P = {}> extends Component<WebViewProps & P> {
|
||||||
/**
|
/**
|
||||||
* Go back one page in the webview's history.
|
* Go back one page in the webview's history.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue