I am working with TypeScript 2, Node JS, Express 4 and MongoDB (with Mongoose as ORM) in Visual Studio 2015. I am trying to install the Google Maps API, but I have no success.
I installed it using "npm install @ google / maps" ( https://www.npmjs.com/package/@google/maps ) and a TypeScript 2 definition with "npm install @ types / googlemaps" ( https: // www .npmjs.com / package / @ types / googlemaps ).
The problem is that they have different names! (Both versions of officials). Therefore, the compiler tells me "I can not find the module @ google / maps" when I write ("@ google / maps").
I would be very grateful if you could help me, because I really need this for my project.
Thank!
source
share