plastikfan / zenobia

Regular expression based file management library
MIT License
0 stars 0 forks source link

Convert source code to typescript #23

Open plastikfan opened 4 years ago

plastikfan commented 4 years ago

All javascript source files should be converted over to typescript. For legacy use of jaxine, temporary type declarations will be required, until jaxine is completely ditched in favour of jaxom-ts. Branch: js-to-ts-conversion

plastikfan commented 4 years ago

SHOW-STOPPER, having problems with the 'Node' type when running the tests. Apparently, the dom api is not available in Node.js, but I really can't see how this can be the case since I 've all tests passing in jaxom-ts without issue.

Take a look at: https://gielberkers.com/parse-xpath-nodejs/

plastikfan commented 4 years ago

I might be better off starting from scratch rather than trying to convert zenobia to typescript. Create a new library zenobia-ts and go from there.