Closed tai2 closed 11 months ago
to be honest, I am not sure this is a TS shenanigan but cloneNode
already takes an optional argument ... I'll merge it, let's hope it will stay around ... if it doesn't, I am afraid I need to change the signature in the code, not in its .d.ts
definition.
Node
'scloneNode()
should take thedeep
argument in type definition. Otherwise, other derived classes likeElement
also cannot take that parameter in TS.