diff --git a/src/WebViewTypes.ts b/src/WebViewTypes.ts index 7bfe61c..d25e066 100644 --- a/src/WebViewTypes.ts +++ b/src/WebViewTypes.ts @@ -271,7 +271,7 @@ export interface IOSNativeWebViewProps extends CommonNativeWebViewProps { pagingEnabled?: boolean; scrollEnabled?: boolean; useSharedProcessPool?: boolean; - onContentProcessDidTerminate: (event: WebViewTerminatedEvent) => void; + onContentProcessDidTerminate?: (event: WebViewTerminatedEvent) => void; } export interface IOSWebViewProps extends WebViewSharedProps { @@ -450,7 +450,7 @@ export interface IOSWebViewProps extends WebViewSharedProps { * Function that is invoked when the WebKit WebView content process gets terminated. * @platform ios */ - onContentProcessDidTerminate: (event: WebViewTerminatedEvent) => void; + onContentProcessDidTerminate?: (event: WebViewTerminatedEvent) => void; } export interface AndroidWebViewProps extends WebViewSharedProps {