element.d.ts 200 B

123
  1. declare type GetElement = <T extends string | HTMLElement | Window | null | undefined>(target: T) => T extends string ? HTMLElement | null : T;
  2. export declare const getElement: GetElement;
  3. export {};