Files
Ammaar Reshi d6025af146 Initial commit
2025-01-04 14:06:53 +00:00

8 lines
246 B
TypeScript

/**
* Insert a given element as the first child of a parent element.
*
* @param node the element to prepend
* @param parent the parent element
*/
export default function prepend(node: Element | null, parent: Element | null): Element | null;