angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

ERROR in node_modules/@agm/core/lib/services/google-maps-api-wrapper.d.ts

Open argelj289 opened this issue 6 years ago • 6 comments

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

argelj289 avatar Oct 06 '20 08:10 argelj289

Same

coffeymatt avatar Oct 06 '20 10:10 coffeymatt

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

ghost avatar Oct 06 '20 13:10 ghost

fixed issu in https://github.com/SebastianM/angular-google-maps/issues/1892

ghost avatar Oct 06 '20 14:10 ghost

I still have this issue is there any solution to continue now

prabeensoti avatar Dec 09 '20 11:12 prabeensoti

Any updates here?

Xapuu avatar Jun 10 '21 14:06 Xapuu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 09 '22 03:01 stale[bot]