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 is not on the root. You just need to add the code below on this file: node_modules/@types/googlemaps/index.d.ts
declare module 'googlemaps';