getRoot.d.ts 129 B

1234
  1. /**
  2. * Finds the root node (document, shadowDOM root) of the given element
  3. */
  4. export declare function getRoot(node: Node): any;