25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

domHook.d.ts 398 B

3 년 전
12345678
  1. export declare type ElementClass = Function;
  2. export declare type Property = PropertyDescriptor | Function;
  3. export declare function spyElementPrototypes<T extends ElementClass>(elementClass: T, properties: Record<string, Property>): {
  4. mockRestore(): void;
  5. };
  6. export declare function spyElementPrototype(Element: ElementClass, propName: string, property: Property): {
  7. mockRestore(): void;
  8. };