Interface for Favicon operation result. Currently identical to the base ImageOperationResult, but defined separately for type clarity and potential future expansion.

FaviconResult

interface FaviconResult {
    error?: Error;
    path: string;
    size?: string | number;
    success: boolean;
}

Hierarchy (View Summary)

Properties

error?: Error

Error object if the operation failed

path: string

The file path where the image was saved

size?: string | number

The size of the generated image (can be a single number for square images or a string like "310x150" for non-square)

success: boolean

Whether the operation was successful