google / google/closure-compiler

Google Maps API Externs Warnings

Open
#2,609 4 comments 0 reactions 0 assignees View on GitHub
bug P2
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

The Maps externs have constructors which attempt to extend `@record` which gives a warning:

```
gulp-google-closure-compiler: node_modules/google-closure-compiler/contrib/externs/maps/google_maps_api_v3.js:641: WARNING - cannot extend this type; constructors can only extend constructors
google.maps.Data.MouseEvent = function() {};
^^^^^^^^^^^^^

node_modules/google-closure-compiler/contrib/externs/maps/google_maps_api_v3.js:2211: WARNING - cannot extend this type; constructors can only extend constructors
google.maps.IconMouseEvent = function() {};
^^^^^^^^^^^^^
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.