GoScrobble/web/node_modules/dom-helpers/esm/prepend.d.ts

8 lines
246 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
/**
* 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;