title: Problems with react-static-google-map
body: <p>I've installed latest version of <code>react-static-google-map</code>. Currently I am using typescript version 3.0 but I got the following errors:</p>
  
  <pre><code>node_modules/react-static-google-map/typings/index.d.ts:166:3 - error TS1038: A 'declare' modifier cannot be used in an already ambient context.
  
  166   declare const MarkerGroupComponent: StatelessComponent&lt;MarkerGroup&gt;;
        ~~~~~~~
  
  node_modules/react-static-google-map/typings/index.d.ts:195:3 - error TS1038: A 'declare' modifier cannot be used in an already ambient context.
  
  195   declare const PathGroupComponent: StatelessComponent&lt;PathGroup&gt;;
        ~~~~~~~
  </code></pre>
  
  <p>In my <code>tsconfig.json</code> I've ignored <code>node_modules</code></p>
  
  <pre><code>"exclude": [
      "node_modules",
  ]
  </code></pre>
  
  <p>how to avoid this checking?</p>
  
  <p>I've checked: <a href="https://github.com/Microsoft/TypeScript/wiki/FAQ#why-is-a-file-in-the-exclude-list-still-picked-up-by-the-compiler" rel="nofollow noreferrer">https://github.com/Microsoft/TypeScript/wiki/FAQ#why-is-a-file-in-the-exclude-list-still-picked-up-by-the-compiler</a></p>
  
  <p>but without success.</p>
  
  <p><strong>EDIT:</strong> One possible solution is adding <code>--skipLibCheck</code> to typescript compiler, but I don't want to loose type-safety</p>