astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
7 lines (6 loc) • 297 B
TypeScript
import { type ErrorWithMetadata } from '../index.js';
export declare function getDocsForError(err: ErrorWithMetadata): string | undefined;
/**
* Render a subset of Markdown to HTML or a CLI output
*/
export declare function renderErrorMarkdown(markdown: string, target: 'html' | 'cli'): string;