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!