There is a problem with TypeScript. It seems like 3 days ago @types/leaflet-geosearch was deprecated. I tried to remove it and use built-in typings, but it doesn't work (Could not find a declaration file for module 'leaflet-geosearch' error).
There is a line "types": "dist/types.d.ts" in package.json, but there is no types.d.ts file, only index.d.ts. Changing package.json in-place to using the correct path helps.
I wanted to create the PR, but it seems like it is a build/publishing setting, and I cannot find that line or something related to it in the repo.
There is a problem with TypeScript. It seems like 3 days ago @types/leaflet-geosearch was deprecated. I tried to remove it and use built-in typings, but it doesn't work (
Could not find a declaration file for module 'leaflet-geosearch'
error).There is a line
"types": "dist/types.d.ts"
inpackage.json
, but there is notypes.d.ts
file, onlyindex.d.ts
. Changingpackage.json
in-place to using the correct path helps.I wanted to create the PR, but it seems like it is a build/publishing setting, and I cannot find that line or something related to it in the repo.