node.js - TypeScript 2 definitions for Google Maps API -
i'm working typescript 2, node js, express 4 , mongodb (with mongoose orm) in visual studio 2015. i'm trying install google maps api library, i'm not having success.
i installed "npm install @google/maps" (https://www.npmjs.com/package/@google/maps) , typescript 2 definitions "npm install @types/googlemaps" (https://www.npmjs.com/package/@types/googlemaps).
the problem have different names! (both officials versions). compiler tell me "cannot find module "@google/maps" when write require("@google/maps").
i gratefully if me because need project.
thanks!
Comments
Post a Comment