diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 717135e7d4..1faa31da8f 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -2184,6 +2184,11 @@ export interface WebViewStatic extends React.ClassicComponentClass any; + + /** + * Inject JavaScript to be executed immediately. + */ + injectJavaScript: (script: string) => void; } /**