The converted modules are
- Stacked Directories ( pull request) which sits at the core of AkashaRender
This continues what was discussed in: Converted Stacked Directories and EPUB Tools to TypeScript
The conversion to TypeScript involved splitting each class definition out to separate files. How very like what Java programmers do, which is to define one class per source file. TypeScript of course doesn't enforce such a restriction, and the code could have all remained in one file. But as I worked with it, this seemed like a way to make each file simpler to manage.
There was only one change in behavior or API. In
0.7.9 and earlier the
process function was a pure callback oriented method. It now returns a Promise, and passing the callback is now optional. Hence it is now safe to use
Another task accomplished was extensive internal documentation. That's in preparation for using TypeDoc to generate API documentation.