版博士V2.0程序
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

11 lignes
487 B

  1. interface SnapshotEnvironment {
  2. resolvePath(filepath: string): Promise<string>;
  3. prepareDirectory(filepath: string): Promise<void>;
  4. saveSnapshotFile(filepath: string, snapshot: string): Promise<void>;
  5. readSnapshotFile(filepath: string): Promise<string | null>;
  6. removeSnapshotFile(filepath: string): Promise<void>;
  7. }
  8. declare function setupSnapshotEnvironment(environment: SnapshotEnvironment): void;
  9. export { SnapshotEnvironment as S, setupSnapshotEnvironment as s };