Explorar el Código

add postMessage to typing

KaFai Choi hace 6 años
padre
commit
ca323fa206
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

@@ -421,5 +421,6 @@ export class WebView extends Component<WebViewSharedProps> {
421 421
   public goBack: () => void;
422 422
   public reload: () => void;
423 423
   public stopLoading: () => void;
424
+  public postMessage: (msg: string) => void;
424 425
   public injectJavaScript: (js: string) => void
425 426
 }