typescript-file-checker
Version:
Smart TypeScript checker for individual files (while respecting tsconfig.json) or full projects with automatic tool detection (tsc/glint/vue-tsc)
9 lines • 674 B
TypeScript
import type { Tool, CommandConfig } from './types.js';
export declare function isFileArg(arg: string): boolean;
export declare function findNearestPackageJson(startDir: string): string | null;
export declare function resolvePackageBin(pkgName: string, binName?: string, configDir?: string): string | null;
export declare function preferLocalBin(cmd: Tool, configDir?: string): CommandConfig;
export declare function pickTool(fileArgs: string[], pkgJsonPath: string, override?: Tool): Tool;
export declare function getInstallSuggestion(tool: Tool): string;
export declare function requireTypeScript(): Promise<typeof import('typescript')>;
//# sourceMappingURL=utils.d.ts.map