Open BjoernRave opened 5 years ago
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?