linkedom icon indicating copy to clipboard operation
linkedom copied to clipboard

types: parseHTML accepts a string

Open mquandalle opened this issue 4 months ago • 0 comments

Hello,

I was trying to fix the following typescript issue:

image

(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?

mquandalle avatar Mar 18 '24 10:03 mquandalle