file-cache.d.ts 301B

123456789101112
  1. import { File } from './interfaces';
  2. export declare class FileCache {
  3. private map;
  4. constructor();
  5. set(key: string, file: File): void;
  6. get(key: string): File;
  7. has(key: string): boolean;
  8. remove(key: string): Boolean;
  9. getAll(): File[];
  10. getRawStore(): Map<string, File>;
  11. }