googlemaps / v3-utility-library

Utility libraries for Google Maps JavaScript API v3
Apache License 2.0
1.1k stars 1.3k forks source link

@googlemaps/jest-mocks - `getClickableIcons` method missing in class `Map_` #680

Closed Xdudu closed 3 years ago

Xdudu commented 3 years ago

Environment details

  1. version: googlemaps/jest-mocks@0.1.0
  2. typescript version: 3.9.3

Steps to reproduce

After installing and compiling, there's a type error:

Class 'Map_' incorrectly implements class 'Map<Element>'. Did you mean to extend 'Map<Element>' and inherit its members as a subclass?
  Property 'getClickableIcons' is missing in type 'Map_' but required in type 'Map<Element>'.