@visulima/ono
Version:
Ono is an error-parsing library that pretty prints JavaScript errors on a web page or the terminal.
13 lines (12 loc) • 343 B
TypeScript
import type { Theme } from "../types.d.ts";
declare const layout: ({ content, cspNonce, css, description, error, scripts, theme, title, }: {
content: string;
cspNonce?: string;
css: string;
description: string;
error: Error;
scripts: string[];
theme?: Theme;
title: string;
}) => string;
export default layout;