I was wondering if anybody knows if there are any existing TypeScript definition files for OpenLayers (or if they are already in the making).
I tried parsing the OpenLayers source files myself and use the documentation comments to build a TypeScript definition file but to really make this work I would need a complete JavaScript parser that also understand the documentation syntax in OpenLayers (it uses NaturalDocs, http://naturaldocs.org) and I'm beginning to think that translating the info by hand is easier than writing such a parser :(.
So does anybody now of a similar project or has an idea how to accomplish the task of generating those TypeScript definition files?
Thanks in advance!
I haven't seen any mention of an OpenLayers.d.ts file yet but there's a growing list of definition files being tracked over here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With