UNPKG

knip

Version:

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

19 lines (18 loc) 607 B
import type ts from 'typescript'; import type { AsyncCompilers, SyncCompilers } from '../compilers/types.js'; import type { ToSourceFilePath } from '../util/to-source-path.js'; export type Paths = ts.CompilerOptions['paths']; export type PrincipalOptions = { cwd: string; isFile: boolean; compilerOptions: ts.CompilerOptions; compilers: [SyncCompilers, AsyncCompilers]; pkgName: string; isIsolateWorkspaces: boolean; isSkipLibs: boolean; isWatch: boolean; toSourceFilePath: ToSourceFilePath; isCache: boolean; cacheLocation: string; isProduction: boolean; };