How to install Typescript typings for google maps

前端 未结 12 1100
春和景丽
春和景丽 2020-11-28 04:07

How can it be done - I\'ve tried combinations of

typings install [googlemaps | google.maps] [--ambient] --save

and end up with variations o

12条回答
  •  庸人自扰
    2020-11-28 04:10

    So what makes this exceptional is that the maps script needs to be downloaded separately from your app bundle. It's not your typical npm install where you get your .js and .ts nicely packaged for consumption.

    TLDR: the typings can be installed via npm but the .js script must be downloaded via a

提交回复
热议问题