UNPKG

next

Version:

The React Framework

9 lines (8 loc) 327 B
export interface TypeCheckResult { hasWarnings: boolean; warnings?: string[]; inputFilesCount: number; totalFilesCount: number; incremental: boolean; } export declare function runTypeCheck(ts: typeof import('typescript'), baseDir: string, tsConfigPath: string, cacheDir?: string): Promise<TypeCheckResult>;