UNPKG

@wordpress/dom

Version:
9 lines 341 B
/** * Given two DOM nodes, replaces the former with the latter in the DOM. * * @param {Element} processedNode Node to be removed. * @param {Element} newNode Node to be inserted in its place. * @return {void} */ export default function replace(processedNode: Element, newNode: Element): void; //# sourceMappingURL=replace.d.ts.map