@types/progressbar
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/progressbar

Weekly Downloads

42

Version

1.1.2

License

MIT

Unpacked Size

3.45 kB

Total Files

5

Last publish

Collaborators

  • types