cspell
Version:
A Spelling Checker for Code!
19 lines • 795 B
TypeScript
import type { TraceResult } from '../application.mjs';
import type { DictionaryPathFormat } from './DictionaryPathFormat.js';
import { type PathInterface } from './helpers.js';
export interface EmitTraceOptions {
/** current working directory */
cwd: string;
lineWidth?: number;
dictionaryPathFormat: DictionaryPathFormat;
iPath?: PathInterface;
prefix?: string;
showWordFound?: boolean;
color?: boolean | undefined;
}
export declare function emitTraceResults(word: string, found: boolean, results: TraceResult[], options: EmitTraceOptions): void;
export declare function calcTraceResultsReport(word: string, found: boolean, results: TraceResult[], options: EmitTraceOptions): {
table: string;
errors: string;
};
//# sourceMappingURL=traceEmitter.d.ts.map