title: How can I get the coordinates of a feature in OpenLayers 3
body: <p>So far I have tried with this code</p>
  
  <pre><code>feature.getGeometry().getCoordinates()
  </code></pre>
  
  <p>but it doesn't work. The error I get is "Property getCoordinates does not exist on type Geometry". May it have something to do with the fact that I'm using TypeScript?</p>