Skip to content

Conversation

mikan-sour
Copy link

@mikan-sour mikan-sour commented Nov 7, 2022

PLEASE CHECK "Allow edits from maintainers"

help

FOLLOW "Conventional Commits Specification" FOR ALL COMMITS

https://conventionalcommits.org/

@mikan-sour
Copy link
Author

Background

I am using Typescript 4.8.4 and getting a type error when trying to use Marker and InfoWindow as children of the GoogleMap component.

Fix

Add children as an optional prop of type ReactNode to the interfaces for these components.

Additional

Please feel free to make a suggestion for how to better fix or how to change my code as to not need to apply this fix.

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