Skip to content

fix: support @types/google.maps 3.66 and type-check mock statics - #1115

Open
brandonweeks wants to merge 1 commit into
googlemaps:mainfrom
brandonweeks:types-google-maps-3.66
Open

brandonweeks wants to merge 1 commit into
googlemaps:mainfrom
brandonweeks:types-google-maps-3.66

Conversation

@brandonweeks

@brandonweeks brandonweeks commented Nov 16, 2026 •

Copy link
Copy Markdown
  • Bump @types/google.maps from 3.58.1 to 3.66.10.
  • Add a typecheck script (tsc --noEmit) and run it in prepack.
  • Check each mock's constructor and statics with
    X satisfies typeof google.maps.X next to the class; implements
    only covers instances.
  • Add Map.DEMO_MAP_ID, Map#getInternalUsageAttributionIds,
    LatLngBounds.MAX_BOUNDS, and OverlayView.preventMapHitsFrom /
    preventMapHitsAndGesturesFrom.
  • Accept the current constructor argument for Data.Polygon.
  • google.maps.event is now a namespace; check it with satisfies instead
    of implements.

- Bump @types/google.maps from 3.58.1 to 3.66.10.
- Add a typecheck script (tsc --noEmit) and run it in prepack.
- Check each mock's constructor and statics with
  `X satisfies typeof google.maps.X` next to the class; `implements`
  only covers instances.
- Add Map.DEMO_MAP_ID, Map#getInternalUsageAttributionIds,
  LatLngBounds.MAX_BOUNDS, and OverlayView.preventMapHitsFrom /
  preventMapHitsAndGesturesFrom.
- Accept the current constructor argument for Data.Polygon.
- google.maps.event is now a namespace; check it with satisfies instead
  of implements.
@brandonweeks
brandonweeks force-pushed the types-google-maps-3.66 branch from badfa3e to 432da0a Compare November 16, 2026 21:11
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

Successfully merging this pull request may close these issues.

1 participant