Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@type file for typescript #267

Open
pdashford opened this issue Jan 24, 2018 · 6 comments
Open

@type file for typescript #267

pdashford opened this issue Jan 24, 2018 · 6 comments

Comments

@pdashford
Copy link

pdashford commented Jan 24, 2018

Is there any chance you could provide a @types file so that it can be referenced using typescript? Thanks P

@pdashford pdashford changed the title Typings file for typescript @type file for typescript Jan 24, 2018
@brunob
Copy link
Collaborator

brunob commented Jan 25, 2018

I don't know what you are talking about :p Could you provide a pull request ?

@brunob
Copy link
Collaborator

brunob commented Jun 12, 2019

No news, no PR, can we close ?

@UksusoFF
Copy link

Also searching for def file.

Seems related: DefinitelyTyped/DefinitelyTyped#19492

@brunob
Copy link
Collaborator

brunob commented Oct 30, 2019

Feel free to provide a PR if needed.

@gelinger777
Copy link

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.

@gelinger777
Copy link

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?

This was referenced Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants