Please note that this typing is only a quick and dirty solution. No comments have been jet added.
For now, copy index.d.ts and include it into your angular project. After some refactoring and optimization has been done, this will be forwarded to be availble via @types.
If you are using angularcli, create a new folder under node_modules/@types, call it "leaflet-search" and save index.d.ts there.
Include it like this in your component: include 'leaflet-search'
and add the dependencies under "scripts" in your angular-cli.json.
This package contains type definitions for leaflet-search (https://github.com/stefanocudini/leaflet-search).
Additional Details
- Dependencies: leaflet
- Global values: L
These definitions were written by Sebastian Kiepsch (https://basti-sk.com)