react-leaflet-search
react-leaflet-search copied to clipboard
Typescript error in Provider.d.ts
Your library doesn't compile in typescript 3.7.2.
TypeScript error in /node_modules/react-leaflet-search/lib/Providers/Provider.d.ts(22,1):
Declaration or statement expected. TS1128
It seems a problem with exporting a type, but I've removed the type statement and now everything works fine.
Problem:
export type { Provider, ProviderOptions };
Solution:
export { Provider, ProviderOptions };
Can you solve this please?
@sahin52 I'm pretty sure that this repo is abandoned
@dayvsonsales Is there any alternative to this?
@SalahAdDin I don't know, I'm not working anymore with leaflet. Sorry.
@SalahAdDin I don't know, I'm not working anymore with leaflet. Sorry.
what are you using then?