You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I made an update of the the library my code breaks
TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type '{ map: google.maps.Map | undefined; }' is not assignable to parameter of type 'Partial<unknown> & Attributes'.
Object literal may only specify known properties, and 'map' does not exist in type 'Partial<unknown> & Attributes'.
60 | {React.Children.map(children, (child) => {
61 | if (React.isValidElement(child)) {
> 62 | return React.cloneElement(child, { map });
| ^^^
63 | }
64 | })}
65 | </>
This didn't happen in previous versions and my code is copy paste from google example here
The text was updated successfully, but these errors were encountered:
@elitenoire Thank you for the pointer.
I am having similar issue and unable to fix it. Do you have any working example with complete code in public repository?
When I made an update of the the library my code breaks
This didn't happen in previous versions and my code is copy paste from google example here
The text was updated successfully, but these errors were encountered: