Skip to content

Commit

Permalink
fix: update Typescript code
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodin committed Sep 4, 2021
1 parent dde9152 commit d49fabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function traverseWebComponents(
const iter = document.createNodeIterator(
node,
NodeFilter.SHOW_ELEMENT,
(foundNode) =>
(foundNode: Element) =>
getShadowRoot(foundNode)
? NodeFilter.FILTER_ACCEPT
: NodeFilter.FILTER_REJECT,
Expand Down

0 comments on commit d49fabb

Please sign in to comment.