raphinesse opened a new pull request #160: URL: https://github.com/apache/cordova-common/pull/160
### Motivation and Context <!-- Why is this change required? What problem does it solve? --> <!-- If it fixes an open issue, please link to the issue here. --> This PR adds type documentation to the `util/xml-helpers` module to more clearly document the interface of the module. The types correctness can be checked using TypeScript tooling ### Description <!-- Describe your changes in detail --> - use ES6 method syntax (because VSCode generated a nicer starting point that way) - document & check function signature types - satisfy TS type checks: in a few cases our code was not 100% in line with the `elementtree` types. However both the old and new version should behave identically with regards to our use-cases ### Testing <!-- Please describe in detail how you tested your changes. --> Checked type correctness of module using VSCode ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
