ERROR in node_modules/@agm/core/lib/services/google-maps-api-wrapper.d.ts
See original GitHub issueI 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
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
An error occurs if the `ts` file and `d.ts` file name are the same
I have tried restarting my IDE and the issue persists. I have updated to the latest version of the packages.
Read more >No compilation error without d.ts files - Stack Overflow
I would like that the compilation of my TypeScript application fails if I don't have the typings (installed and references in TypeScript files)...
Read more >Documentation - Modules .d.ts - TypeScript
Comparing JavaScript to an example DTS. Common CommonJS Patterns. A module using CommonJS patterns uses module.exports to describe the exported values.
Read more >lib.d.ts - TypeScript Deep Dive - Gitbook
A special declaration file lib.d.ts ships with every installation of ... If you use the same sample code with the noLib option you...
Read more >What is a “.d.ts” file in TypeScript? | by Ohans Emmanuel
d.ts files are called type declaration files. ... And TypeScript is quick to spot the error: Property 'ciil' does not exist on type...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fixed issu in https://github.com/SebastianM/angular-google-maps/issues/1892
I still have this issue is there any solution to continue now