Hello,
so I've been writing types for snapdragon itself, but it is a little too complicated to write by hand. I decided to copy/rewrite (also fix some bugs along the way) js code into typescript and compile js and d.ts files. I've got some proposals/questions:
- Can I upgrade classes to ES6 classes? I've noticed that they are used for some snapdragon extensions. With typescript compiler I can generate both ES6 and ES5, so why not choose ES6?
- Can I remove legacy code from
utils? Methods like pushNode and etc., which are no longer present in snapdragon-node itself?
- While I already know that you're not interested, it doesn't hurt to ask, but maybe you would like to use typescript :D ? It has many advantages over typescript, however it also has minor annoyances, but I still have no regrets after deciding to migrate to typescript.
Hello,
so I've been writing types for snapdragon itself, but it is a little too complicated to write by hand. I decided to copy/rewrite (also fix some bugs along the way)
jscode into typescript and compilejsandd.tsfiles. I've got some proposals/questions:utils? Methods likepushNodeand etc., which are no longer present insnapdragon-nodeitself?