statigen
Version:
A static site generator that supports html, ejs, and markdown source files
8 lines (7 loc) • 358 B
TypeScript
import type { Diagnostic } from './interfaces';
export declare function printDiagnostics(diagnostics?: Diagnostic[]): void;
export declare function printDiagnostic(diagnostic: Diagnostic): void;
/**
* Given a diagnostic, compute the range for the squiggly
*/
export declare function getDiagnosticSquigglyText(diagnostic: Diagnostic, line: string): string;