First of all I am super curious to know what the ol3 core team thinks on the subject TypeScript. But unfortunately they do not react on those questions:
https://github.com/openlayers/ol3/issues/4128#issuecomment-210081140 https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!searchin/ol3-dev/typescript/ol3-dev/zEOKWkivmGk/55DrKocFn8AJ I hope sooner or later the type definitions come from the ol3 project directly... The one issue could be fixed https://github.com/openlayers/ol3/issues/5518 Next month I am back on ol3 development, I will let you know about any adjustments. sam On Saturday, July 9, 2016 at 1:48:41 PM UTC+2, Poul Sørensen wrote: > > > As we update our application ol3 dependency I update my repro. > > Of cause its nice with a generator, but I think you will discover that it > will take time to get to a point where it will operate like what you > suggest, so until then we keep manual tweeking/fixing our ol.d.ts as we > discover issues. > > Anyhow, what did you have to adjust? Maybe we can fix it. > > > On Monday, 20 June 2016 16:52:25 UTC+2, Sam Berger wrote: >> >> Hi Jackie, >> >> This is really awesome! >> It doesn't look like you PR wants to be merged in DefinitelyTyped. And >> anyway, once it is merged, it should only be updated by your generator. But >> you don't control this. >> I just started using the version from Poul Sørensen and of course, I had >> to adjust... >> What do you think about a GitHub repository by its own, where all >> adjustments are solely done by modifying the config of your generator (and >> fixing ol3 source directly)? >> >> sam >> >> On Friday, February 19, 2016 at 2:03:29 AM UTC+1, Jackie Ng wrote: >>> >>> Hi All, >>> >>> For anyone interested, I've put up a TypeScript definition file for >>> OpenLayers v3.13.1 on my DefinitelyTyped fork >>> >>> >>> https://github.com/jumpinjackie/DefinitelyTyped/blob/openlayers-full/openlayers/openlayers.d.ts >>> >>> This TypeScript definition is automatically generated from the JSDoc >>> annotations in the OL3 source using my JSDoc TypeScript plugin ( >>> https://github.com/jumpinjackie/jsdoc-typescript-plugin) >>> >>> The definition should cover the full public API surface of ol3. If it's >>> in the official API documentation, it should be in this d.ts as well. >>> >>> Aside from my own testing that I'm still currently doing, I'd like >>> anyone who's building a TypeScript application using ol3 to give this >>> definition file a try and let me know if there's anything wrong with it >>> before I make the pull request to have this incorporated into the official >>> tsd registry. >>> >>> Cheers, >>> >>> - Jackie >>> >> -- You received this message because you are subscribed to the Google Groups "OL3 Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/ol3-dev. To view this discussion on the web visit https://groups.google.com/d/msgid/ol3-dev/a4a83917-1066-4c03-867f-108d33f22d62%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
