UNPKG

denoify

Version:

For NPM module authors that would like to support Deno but do not want to write and maintain a port.

5 lines (4 loc) 184 B
/** Save results of anterior calls */ export declare function addCache<T extends (...args: any[]) => Promise<any>>(f: T, params?: { filePathForPersistanceAcrossRun: string; }): T;