chore: remove unused function (#10776)

Co-authored-by: Rich Harris <rich.harris@vercel.com>
pull/10778/head
Rich Harris 10 months ago committed by GitHub
parent ea97fe22da
commit 84fa18a850
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -42,16 +42,6 @@ const all_registered_events = new Set();
/** @type {Set<(events: Array<string>) => void>} */
const root_event_handles = new Set();
/**
* @param {Element} node
* @returns {Element}
*/
export function svg_replace(node) {
const first_child = /** @type {Element} */ (node.firstChild);
node.replaceWith(first_child);
return first_child;
}
/**
* @param {string} event_name
* @param {Element} dom

Loading…
Cancel
Save