UNPKG

knip

Version:

Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects

11 lines (10 loc) 344 B
export interface DiskCache<V> { init: (cacheLocation: string) => void; isEnabled: () => boolean; get: (key: string) => V | undefined; set: (key: string, value: V) => void; delete: (key: string) => void; clear: () => void; flush: () => void; } export declare const createDiskCache: <V>(name: string) => DiskCache<V>;