TypeScript Error: Cannot find namespace 'google'

后端 未结 7 633
青春惊慌失措
青春惊慌失措 2021-01-12 06:33

I have project angular-cli

~root~/src/typings.json

{
  \"globalDevDependencies\": {
    \"angular-protractor\": \"registry:dt/angula         


        
7条回答
  •  被撕碎了的回忆
    2021-01-12 07:36

    For anyone in Vue js facing this issue, you can add the following line at the top of your script section. Make sure you have installed @types/googlemaps.

    ///

提交回复
热议问题