Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

9 righe
398 B

  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. };