Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MhmdWishah opened this issue Oct 4, 2023 · 3 comments

Comments

@MhmdWishah
Copy link

MhmdWishah commented Oct 4, 2023

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

@Mohamed-Magdey
Copy link

Check this thread: #1892

@MhmdWishah
Copy link
Author

Check this thread: #1892
I still facing a problems
#1892 (comment)

@Mohamed-Magdey
Copy link

Did you add this "typings/*.d.ts" to tsconfig?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants