You have to write your own type declarations. An example of this is in issue: https://github.com/publiclab/Leaflet.DistortableImage/issues/1392 It seems native declarations wont be added.