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

Typescript Example? #112

Open
ca0v opened this issue Aug 13, 2020 · 0 comments
Open

Typescript Example? #112

ca0v opened this issue Aug 13, 2020 · 0 comments

Comments

@ca0v
Copy link

ca0v commented Aug 13, 2020

It would be nice to see an example which uses typescript. Can the openlayers typings be generated from the source? I do not see it published anywhere. On the other hand, it seems the source is already typescript compatible so maybe we can just import the source without the typings? Some guidance in the form of a workshop would be helpful. I will say that the only issue I see with treating ol as typescript is in the pbf.js and ieee754.js commonjs modules, which are easily ported to javascript modules. Perhaps the authors of ieee754.js could be nudged to produce and es module.

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

1 participant