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
It would be great to have the types definition. But before someone publishes them, here's my workaround: install @types/react-leaflet. In your project, create a file react-leaflet-universal.d.ts with the content:
declare module 'react-leaflet-universal` {
export * from 'react-leaflet';
}
Note that that this just uses react-leaflet so doesn't contain the properties from the decorated components. But at least it will give you type checking for standard properties.
hey, because the types of this should be the same as the ones of react-leaflet, it would be easy to publish types for this library or?
The text was updated successfully, but these errors were encountered: