GoScrobble/web/node_modules/dom-helpers/cjs/siblings.d.ts

7 lines
176 B
TypeScript

/**
* Collects all previous and next sibling elements of a given element.
*
* @param node the element
*/
export default function siblings(node: Element | null): Element[];