Browse Source

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

Chet Corcos 6 years ago
parent
commit
0ff0fd3ed6
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      typings/index.d.ts

+ 1
- 0
typings/index.d.ts View 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
 }