accounts-frontend/@types/multi-progress.d.ts

14 lines
394 B
TypeScript
Raw Normal View History

2020-01-17 12:44:22 +03:00
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;
}
}