knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
10 lines (9 loc) • 386 B
TypeScript
import type { MainOptions } from './util/create-options.ts';
import { type FileDescriptor } from './util/file-entry-cache.ts';
export declare class CacheConsultant<T> {
private cache;
getFileDescriptor: (filePath: string) => FileDescriptor<T>;
reconcile: () => void;
constructor(name: string, options: MainOptions);
getCachedFile(filePath: string): T | undefined;
}