types.ts 254 B

12345678
  1. export type SelectorExistsOpts = {
  2. /** The selector to check for */
  3. selector: string;
  4. /** Whether to use `querySelectorAll()` instead */
  5. all?: boolean;
  6. /** Whether to call the listener continuously instead of once */
  7. continuous?: boolean;
  8. };