typescript-runtime-schemas
Version:
A TypeScript schema generation tool that extracts Zod schemas from TypeScript source files with runtime validation support. Generate validation schemas directly from your existing TypeScript types with support for computed types and constraint-based valid
19 lines (18 loc) • 477 B
TypeScript
/**
* Handle CLI errors with consistent formatting
*/
export declare function handleError(error: any, context: string): never;
/**
* Log information unless quiet mode is enabled
*/
export declare function logInfo(message: string): void;
/**
* Create a spinner-like progress indicator
*/
export declare class ProgressIndicator {
private interval;
private frames;
private currentFrame;
start(message: string): void;
stop(finalMessage?: string): void;
}