UNPKG

knip

Version:

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

7 lines (6 loc) 349 B
import type { ModuleGraph } from '../types/module-graph.js'; import type { File } from './types.js'; export interface FileDescriptorOptions { isShowContention?: boolean; } export declare const buildFileDescriptor: (filePath: string, cwd: string, graph: ModuleGraph, entryPaths: Set<string>, options?: FileDescriptorOptions) => File | undefined;