Explorar el Código

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

Chet Corcos hace 5 años
padre
commit
0ff0fd3ed6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      typings/index.d.ts

+ 1
- 0
typings/index.d.ts Ver fichero

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