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.