UNPKG

knip

Version:

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

12 lines (11 loc) 544 B
import type { GraphExplorer } from '../graph-explorer/explorer.js'; import type { Export, ExportMember, ModuleGraph } from '../types/module-graph.js'; import type { MainOptions } from '../util/create-options.js'; interface TraceReporterOptions { graph: ModuleGraph; explorer: GraphExplorer; options: MainOptions; isExportReferencedInFile: (exportedItem: Export | ExportMember) => boolean; } declare const _default: ({ graph, explorer, options, isExportReferencedInFile }: TraceReporterOptions) => void; export default _default;