Przeglądaj źródła

feat(types): Post message types (#166)

Chet Corcos 5 lat temu
rodzic
commit
0ff0fd3ed6
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      typings/index.d.ts

+ 1
- 0
typings/index.d.ts Wyświetl plik

@@ -429,5 +429,6 @@ export class WebView extends Component<WebViewSharedProps> {
429 429
   public goBack: () => void;
430 430
   public reload: () => void;
431 431
   public stopLoading: () => void;
432
+  public postMessage: (msg: string) => void
432 433
   public injectJavaScript: (js: string) => void
433 434
 }