@types/cli-progress
Advanced tools
Comparing version 3.7.0 to 3.8.0
@@ -1,8 +0,7 @@ | ||
// Type definitions for cli-progress 3.7 | ||
// Type definitions for cli-progress 3.8 | ||
// Project: https://github.com/AndiDittrich/Node.CLI-Progress | ||
// Definitions by: Mohamed Hegazy <https://github.com/mhegazy> | ||
// Álvaro Martínez <https://github.com/alvaromartmart> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.2 | ||
/// <reference types="node" /> | ||
@@ -87,2 +86,9 @@ | ||
/** | ||
* trigger an eta calculation update during asynchronous rendering trigger using the current value | ||
* - should only be used for long running processes in conjunction with lof `fps` values and large `etaBuffer` | ||
* @default false | ||
*/ | ||
etaAsynchronousUpdate?: boolean; | ||
/** disable line wrapping (default: false) - pass null to keep terminal settings; pass true to trim the output to terminal width */ | ||
@@ -145,2 +151,4 @@ linewrap?: boolean | null; | ||
calculateETA(): void; | ||
/** Force eta calculation update (long running processes) without altering the progress values. */ | ||
updateETA(): void; | ||
@@ -153,2 +161,3 @@ formatTime(t: any, roundToMultipleOf: any): any; | ||
increment(step?: number, payload?: object): void; | ||
increment(payload: object): void; | ||
@@ -170,2 +179,3 @@ render(): void; | ||
update(current: number, payload?: object): void; | ||
update(payload: object): void; | ||
} | ||
@@ -172,0 +182,0 @@ |
{ | ||
"name": "@types/cli-progress", | ||
"version": "3.7.0", | ||
"version": "3.8.0", | ||
"description": "TypeScript definitions for cli-progress", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "alvaromartmart" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
} | ||
@@ -30,4 +35,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "0ca411a6963d4222f9bd5d50d435ab4b4f95666ebee05cc764193d9e8ef17db1", | ||
"typeScriptVersion": "2.9" | ||
"typesPublisherContentHash": "4002f67dc1be3ab54e86ef5515496748c297e2c26f7d9b1d1bab1acbd47f0a53", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 05 May 2020 00:10:16 GMT | ||
* Last updated: Fri, 14 Aug 2020 22:06:44 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by [ Mohamed Hegazy](https://github.com/mhegazy), and [Álvaro Martínez](https://github.com/alvaromartmart). | ||
These definitions were written by [ Mohamed Hegazy](https://github.com/mhegazy), [Álvaro Martínez](https://github.com/alvaromartmart), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). |
10494
155