title: How to include typescript openlayers 3 external module?
body: <p>I want to try setting up a simple map in openlayers using typescript:</p>
  
  <p><a href="https://github.com/borisyankov/DefinitelyTyped/blob/master/openlayers/openlayers.d.ts" rel="nofollow">https://github.com/borisyankov/DefinitelyTyped/blob/master/openlayers/openlayers.d.ts</a></p>
  
  <p>I take that file, put it into </p>
  
  <pre><code>/typings/openlayers/openlayers.d.ts
  </code></pre>
  
  <p>I have an app.ts file at the top in my root directory that I put:</p>
  
  <p>import {
      Map
  } from "olx";</p>
  
  <p>In my tsconfig.json, I've included the path to the openlayers.d.ts file.
  But I am gettting olx is not defined when I use the tsc command from npm's typescript package.</p>
  
  <p>All I am going for is drawing a simple openlayers3 map, hope to not deviate from javascript too much if possible. </p>