7 lines
176 B
TypeScript
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[];
|