accounts-frontend/@types/multi-progress.d.ts
2020-05-24 02:08:24 +03:00

11 lines
403 B
TypeScript

declare module 'multi-progress' {
export default class MultiProgress {
constructor(stream?: string);
newBar(schema: string, options: ProgressBar.ProgressBarOptions): ProgressBar;
terminate(): void;
move(index: number): void;
tick(index: number, value?: number, options?: any): void;
update(index: number, value?: number, options?: any): void;
}
}