I encountered error in my terminal when I execute ng build or ng serve:
ERROR in node_modules/@agm/core/lib/services/google-maps-api-wrapper.d.ts:51:41 - error TS2314: Generic type 'MapHandlerMap<T>' requires 1 type argument(s).
51 subscribeToMapEvent<N extends keyof google.maps.MapHandlerMap>(eventName: N): Observable<google.maps.MapHandlerMap[N]>;
~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@agm/core/lib/services/google-maps-api-wrapper.d.ts:51:94 - error TS2314: Generic type 'MapHandlerMap<T>' requires 1 type argument(s).
51 subscribeToMapEvent<N extends keyof google.maps.MapHandlerMap>(eventName: N): Observable<google.maps.MapHandlerMap[N]>;
Duplicate of:
https://github.com/SebastianM/angular-google-maps/issues/1892
Same
I have the same issue :
i have angular : 10.1.4
I installed agm/core latest version : 3.0.0-beta.0
if i build there i have lots of problem that are fixed by installing peer @types/googlemaps
but then i arrive at the same issue on ng build and ng serve that blocks the whole app
I still have this issue is there any solution to continue now