···328328 #morphOneToOne(from: ChildNode, to: ChildNode): void {
329329 // Fast path: if nodes are exactly the same object, skip morphing
330330 if (from === to) return
331331- if (from.isEqualNode?.(to)) return
331331+ if (from.isEqualNode(to)) return
332332333333 if (from.nodeType === ELEMENT_NODE_TYPE && to.nodeType === ELEMENT_NODE_TYPE) {
334334 if ((from as Element).localName === (to as Element).localName) {