tsd
Version:
Check TypeScript type definitions
11 lines (10 loc) • 401 B
TypeScript
import { Diagnostic } from './interfaces';
/**
* Format the TypeScript diagnostics to a human readable output.
*
* @param diagnostics - List of TypeScript diagnostics.
* @param showDiff - Display difference between expected and received types.
* @returns Beautiful diagnostics output
*/
declare const _default: (diagnostics: Diagnostic[], showDiff?: boolean) => string;
export default _default;