Installation
npm install --save @types/progressbar
Summary
This package contains type definitions for progressbar (https://github.com/bevry/progressbar).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/progressbar.
index.d.ts
export class Progressbar {
step(step: string): this;
getStep(): string;
setStep(steps: string): this;
setTick(ticks: number): this;
addTick(steps?: number): this;
tick(steps?: number): this;
getTick(): number;
setTotal(total: number): this;
total(total: number): this;
addTotal(total?: number): this;
getTotal(): number;
finish(next?: () => void): this;
}
export function create(): Progressbar;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Arne Schubert.