I just saw a StackOverflow question where someone wanted to use Flow to type some stuff related to XPath:
const xmlDoc: XMLDocument = new DOMParser().parseFromString(xmlString,"text/xml");
xmlDoc.evaluate(xPath, xmlDoc, null, XPathResult.ANY_TYPE, null);
It looks like they can just use Document in place of XMLDocument, but the current definition of Document doesn't seem to have an evaluate method. In addition, I don't see XPathResult defined anywhere. Are these things that we/you would be interested in adding to the libdefs?
Well, if something exists in specs but missed in libdefs, I think, it should be fixed.
Feel free to PR 馃憤
Most helpful comment
Well, if something exists in specs but missed in libdefs, I think, it should be fixed.