knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
16 lines (15 loc) • 403 B
TypeScript
import { type FileDescriptor } from './util/file-entry-cache.js';
type CacheOptions = {
name: string;
isEnabled: boolean;
cacheLocation: string;
isProduction: boolean;
};
export declare class CacheConsultant<T> {
private isEnabled;
private cache;
constructor(options: CacheOptions);
getFileDescriptor(file: string): FileDescriptor<T>;
reconcile(): void;
}
export {};