title: Expected Arguments 1-3, but got 0
body: <h2>Error Params get Current Position for ionic 4</h2>
  
  <p><a href="https://i.stack.imgur.com/l03yT.png" rel="nofollow noreferrer">My image</a></p>
  
  <p>I tried searching for any discussion, and did not find the answer.
  in the indicated ionic documentation</p>
  
  <pre><code>this.geolocation.getCurrentPosition().then((resp) =&gt; {
      // resp.coords.latitude
      // resp.coords.longitude
  }).catch((error) =&gt; {
      console.log('Error getting location', error);
  });
  </code></pre>
  
  <p>my code's like this</p>
  
  <pre><code>this.geolocation.getCurrentPosition().then(pos =&gt; {
     let latLng = new google.maps.latLng(pos.coords.latitude, pos.coords.longitude);
     this.map.setCenter(latLng);
     this.map.setZoom(15);
  }).catch(err =&gt; {
     console.log(err);
  });
  </code></pre>
  
  <p>when i hover. i got message</p>
  
  <pre><code>(method) Geolocation.getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void
  Expected 1-3 arguments, but got 0.ts(2554)
  lib.dom.d.ts(5389, 24): An argument for 'successCallback' was not provided.
  </code></pre>
  
  <p>I imitated the tutorial on YouTube <a href="https://www.youtube.com/watch?v=Ru57AkoWMJ4&amp;t=199s" rel="nofollow noreferrer">https://www.youtube.com/watch?v=Ru57AkoWMJ4&amp;t=199s</a></p>
  
  <p>I get an error in line 43 of him</p>