Sfoglia il codice sorgente

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

Chet Corcos 5 anni fa
parent
commit
0ff0fd3ed6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      typings/index.d.ts

+ 1
- 0
typings/index.d.ts Vedi File

@@ -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
 }