title: How to import npm packages without TypeScript definition such that IDE still provide intellisense?
body: <p>I using an npm package which doesn't not have type definition for TypeScript. To be exact, I'm using <code>react-google-maps</code> library.</p>
  
  <p>Following their example, I imported the following components from the package:</p>
  
  <pre><code>import {GoogleMapLoader, GoogleMap, Marker} from "react-google-maps";
  </code></pre>
  
  <p>However, TypeScript throws an error during compilation that:</p>
  
  <pre><code>error TS2305: Module '"react-google-maps"' has no exported member 'GoogleMapLoader'.
  </code></pre>
  
  <p>So, my quick fix to this is a declaration of the module with its members of type "any":</p>
  
  <pre><code>declare module "react-google-maps" {
      export var GoogleMapLoader:any;
  }
  </code></pre>
  
  <p>Now, the problem, however, is that my IDE (WebStorm) doesn't give intellisense anymore. <code>GoogleMapLoader</code> is not even recognised as a react component, which I believe would have been recognised (at least the methods and properties without the typings) if I was using Babel.</p>
  
  <p>How can I import npm packages without type definitions to be resolved by TypeScript compiler and yet doesn't obstruct IDE from providing intellisense?</p>