title: Property 'share' does not exist on type 'Navigator'
body: <p>I need to use WebShareAPI in my Ionic application.</p>
  
  <p>Here is my code as suggested in <a href="https://developers.google.com/web/updates/2016/09/navigator-share" rel="noreferrer">Introducing the Web Share API</a></p>
  
  <pre><code>if (window.navigator &amp;&amp; window.navigator.share) {
    window.navigator.share({
      title: 'title',
      text: 'description',
      url: 'https://soch.in//',
    })
      .then(() =&gt; console.log('Successful share'))
      .catch((error) =&gt; console.log('Error sharing', error));
  } else {
    alert('share not supported');
  }
  </code></pre>
  
  <p>However, Typescript compilation fails with the following error:</p>
  
  <pre><code>[11:31:11]  typescript: src/pages/channel_home/channel_home.ts, line: 89
              Property 'share' does not exist on type 'Navigator'.
  </code></pre>
  
  <p>There is a likely reason explained here
  <a href="https://github.com/Microsoft/TypeScript/issues/18642" rel="noreferrer">DOM lib: add support for navigator.share</a></p>
  
  <p>However, I would like to know some workaround to make WebShareApi work in my Ionic app in particular, and in any Angular or Typescript app in general.</p>