knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
13 lines (12 loc) • 450 B
TypeScript
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 = {
dir: string;
isFile: boolean;
compilerOptions: ts.CompilerOptions;
compilers: [SyncCompilers, AsyncCompilers];
pkgName: string;
toSourceFilePath: ToSourceFilePath;
};