Closed gberaudo closed 6 years ago
@ahocevar, have you had time to investigate typescript already? What is your opinion about this issue?
@gberaudo I didn't have time to investigate that yet.
@gberaudo contributions welcome on #8385. I've run an auto-transform and done a fair bit of manual cleanup. Remaining work is listed on that PR.
The OpenLayers5 code is using constructor functions and inheritance using util.inherits(). ES6 introduced the concept of class which:
super
in constructor and methods;I have started experimenting with lebab for transforming our 250 constructors to classes. Before I invest more time: