UNPKG

knip

Version:

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

4 lines (3 loc) 365 B
import type { DependencyGraph, ImportDetails } from '../types/dependency-graph.js'; export declare const getHasStrictlyNsReferences: (graph: DependencyGraph, importsForExport: ImportDetails | undefined, id: string) => [boolean, string?]; export declare const getType: (hasOnlyNsReference: boolean, isType: boolean) => "exports" | "types" | "nsExports" | "nsTypes";