UNPKG

@rawcmd/typewriters

Version:

Collection of typewriters for styling command-line messages for Rawcmd.

8 lines (7 loc) 229 B
export interface ErrorTypewriterOptions { title?: string; message?: string; code?: number; totalWidth?: number; } export declare function errorTypewriter(options?: ErrorTypewriterOptions): (error: any) => string;