FrontPastel/node_modules/dom-helpers/esm/prepend.d.ts

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;