title: types googlemaps index.d.ts is not a module error message
body: <p>I can't seem to resolve this error trying to implement google autocomplete for place search in my app.</p>
  
  <p>I've tried most of the online suggestions to resolve this issue
  typings install dt~google.maps --global
  npm install typings --global
  npm install @types/googlemaps --save-dev
  npm install @agm/core --save
  npm install ngx-google-places-autocomplete
  npm i -S google-places-autocomplete-service
  npm install @google/maps</p>
  
  <p>I initially got this error:
  Cannot import type declaration files. Consider importing 'googlemaps' instead of '@types/googlemaps'.</p>
  
  <p>then after importing googlemaps I got the following error:
  node_modules/@types/googlemaps/index.d.ts' is not a module.</p>
  
  <p>One thing that's odd is in my typings -> globals -> google.maps -> index.d.ts file export class Map has an error stating there's a duplicate identifier.</p>
  
  <p>I checked and that namespace is also in node_modules -> @types -> googlemaps -> index.d.ts.</p>
  
  <p>So it looks like that namespace is declared in multiple files.  I'm not sure where it should be exactly.</p>