I want to use the Google Maps API with my Angular project, so I used these two commands to install npm packages:
npm install @agm/core --save-dev npm install
It works fine
npm install --save-dev @types/googlemaps At the beggining of your component file, type: ///