happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
19 lines (17 loc) • 388 B
text/typescript
/**
* Fetch response cache file system implementation.
*/
export default interface IResponseCacheFileSystem {
/**
* Loads the cache from file system.
*
* @param directory Directory to load from.
*/
load(directory: string): Promise<void>;
/**
* Saves the cache to file system.
*
* @param directory Directory to store to.
*/
save(directory: string): Promise<void>;
}