Closed ssi02014 closed 1 year ago
This looks good me thinks, but let me do some manual testing - high risk change :sweat_smile:
@cure53 Based on the specification, I don't think the last argument, "false", will make any difference in behavior, but it's worth checking.
Thanks!!!
Summary
Hello 👋, @cure53 I was looking at the
_createIterator
function and realized it had an unnecessary argument (false
), so I did a fix-and-refactor.https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator https://dom.spec.whatwg.org/#dom-document-createnodeiterator
Even if you refer to the documentation above, the
createNodeIterator
function only requires 3 arguments:root
,whatToShow
, andfilter
.https://github.com/microsoft/TypeScript/blob/main/src/lib/dom.generated.d.ts#L7160
Tasks