gribnoysup / react-yandex-maps

Yandex Maps API bindings for React
MIT License
329 stars 116 forks source link

Bugfix: withYMaps return type #197

Closed skycrazyk closed 4 years ago

skycrazyk commented 5 years ago

fix #181

The current implementation return type of function withYMaps requires ymaps property. It`s wrong. This PR fix it.

zalishchuk commented 4 years ago

@gribnoysup can we merge this, current TypeScript definitions are a bit broken. I made a logical mistake in withYMaps declaration.

gribnoysup commented 4 years ago

Thanks for your contribution @skycrazyk and sorry for the delay with merging it