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

1.0.3 • Public • Published

Installation

npm install --save @types/estimate

Summary

This package contains type definitions for estimate (https://github.com/bevacqua/estimate).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/estimate.

index.d.ts

export interface Options {
    speed?: number | undefined;
    spaces?: RegExp | undefined;
}

export interface Estimate {
    progress: number;
    remaining: number;
    total: number;
    update(): void;
    initialize(): void;
}

export function element(element: HTMLElement, options?: Options): Estimate;

export function text(text: string, options?: Options): number;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Luis Rodrigues.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/estimate

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

3.29 kB

Total Files

5

Last publish

Collaborators

  • types