Open pdashford opened 6 years ago
I don't know what you are talking about :p Could you provide a pull request ?
No news, no PR, can we close ?
Also searching for def file.
Seems related: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/19492
Feel free to provide a PR if needed.
have you found any solution to this? @brunob he means that when you try to import npm package for example like this import * from 'leaflet-plugins' ;
you get error TS2307: Cannot find module 'leaflet-plugins' or its corresponding type declarations.
Also I have tried to do
import 'leaflet-plugins/layer/tile/Yandex' ;
import 'leaflet-plugins/layer/tile/Yandex.addon.LoadApi' ;
but seems it did not helped . How to use this within angular / ES apps?
Is there any chance you could provide a @types file so that it can be referenced using typescript? Thanks P