UNPKG

176 BTypeScriptView Raw
1/**
2 * Collects all previous and next sibling elements of a given element.
3 *
4 * @param node the element
5 */
6export default function siblings(node: Element | null): Element[];