Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

error TS2314: Generic type 'MapHandlerMap<T>' requires 1 type argument(s).  #2038

@MhmdWishah

Description

@MhmdWishah

Error: node_modules/@agm/core/lib/services/google-maps-api-wrapper.d.ts:51:41 -
error TS2314: Generic type 'MapHandlerMap' requires 1 type argument(s).

51 subscribeToMapEvent(eventName: N): Observable<google.maps.MapHandlerMap[N]>;

Error: node_modules/@agm/core/lib/services/google-maps-api-wrapper.d.ts:51:94 -
error TS2314: Generic type 'MapHandlerMap' requires 1 type argument(s).

51 subscribeToMapEvent(eventName: N): Observable<google.maps.MapHandlerMap[N]>;

× Failed to compile.

angular-google-maps, Angular, & any other relevant dependency versions
"@agm/core": "^3.0.0-beta.0",
"@angular-material-extensions/google-maps-autocomplete": "^9.0.3",
"@angular/common": "^15.1.0",
"@angular/core": "^15.1.0",
"@types/google.maps": "^3.54.3",
"@types/googlemaps": "^3.40.0",
"ngx-google-places-autocomplete": "^2.0.5",

Other information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions