UNPKG

301 BTypeScriptView Raw
1import { File } from './interfaces';
2export 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}