UNPKG

ai-error-formatter

Version:

AI tool to explain JavaScript errors with structured output and fun modes like roast, sarcasm, emojis, and child-like explanations.

18 lines (15 loc) 538 B
interface SayHelloProps { firstName: string; lastName: string; } interface errorFormatterOptions { language?: string; roastMode?: boolean; emojiMode?: boolean; breakupLetterMode?: boolean; sarcastic?: boolean; childLikeMode?: boolean; } declare function sayHello({ firstName, lastName }: SayHelloProps): void; declare function errorFormatter(error: Error, options?: errorFormatterOptions): Promise<string | undefined>; export { type SayHelloProps, errorFormatter, type errorFormatterOptions, sayHello };