tsc-path-fix
Version:
Zero-runtime TypeScript path resolver - converts aliases to relative paths at compile time. Fast, lightweight, with native watch mode.
25 lines (24 loc) • 602 B
TypeScript
export declare class ProgressBar {
private total;
private options;
private bar;
private timer;
private startTime;
private lastRenderTime;
private renderThrottleMs;
private spinner;
private spinnerIdx;
constructor(total: number, options?: {
showPercent?: boolean;
showCount?: boolean;
showElapsed?: boolean;
showSpinner?: boolean;
width?: number;
barChar?: string;
emptyChar?: string;
});
start(): void;
update(current: number): void;
private render;
complete(message?: string): void;
}