Skip to content

bug(googlemaps): not compatible with latest googlemap types #21440

@mhp-borisbojic

Description

@mhp-borisbojic

Reproduction

Cross reference: DefinitelyTyped/DefinitelyTyped#50253

Steps to reproduce:

  1. Use google maps component of angular
  2. Install latest @types/googlemaps 3.43.0

Expected Behavior

Everything still works as before with @types/googlemaps 3.40.5

Actual Behavior

ERROR in node_modules/@angular/google-maps/google-map/google-map.d.ts:68:38 - error TS2694: Namespace 'google.maps' has no exported member 'MouseEvent'.

68     mapClick: Observable<google.maps.MouseEvent | google.maps.IconMouseEvent>;

Environment

  • Angular: 11 (10 and 9 as well)
  • CDK/Material: 11
  • Browser(s): -
  • Operating System (e.g. Windows, macOS, Ubuntu): -

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaroundarea: google-maps

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions