element.d.ts 192 B

123
  1. 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 {};