title: Using In App Browser cordova plugin with typescript
body: <p>I'm trying to build cordova app with typescript + react.</p>
  
  <p>So i need to open the base64 image or pdf in external app (Gallery or PDF Reader, user can manually choose the option) and came across this cordova plugin "InAppBrowser".</p>
  
  <p>The problem is, the whole reference and docs are made for JavaScript and when i'm trying to use it in TS it leads to error</p>
  
  <pre><code>var ref = cordova.InAppBrowser.open(base64path, '_blank', 'location=yes');
  </code></pre>
  
  <p><strong><em>Property 'InAppBrowser' does not exist on type 'Cordova'.</em></strong></p>
  
  <p>I have installed typings for "cordova" and "cordova-in-app-browser-plugin" (index.d.ts files), but it is not fixing the problem.
  Have anybody knows the solution? Thanks.</p>