linkedom
linkedom copied to clipboard
types: parseHTML accepts a string
Hello,
I was trying to fix the following typescript issue:
(map
doesn't exist on the dom, but is valid with linkedom)
As a baby first step, I changed the input type of parseHTML
from any
to string
.
Are you open to further refinement to remove the typing error when using .map()
in the above example?