From 1bbe9e3b140d0b6cebf72675be424e55918718fd Mon Sep 17 00:00:00 2001 From: Lars Hvam Date: Sun, 7 May 2017 11:07:53 +0200 Subject: [PATCH] update to node-progress v2.0.0 --- types/progress/index.d.ts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/types/progress/index.d.ts b/types/progress/index.d.ts index c42f819469..1989ebbed8 100644 --- a/types/progress/index.d.ts +++ b/types/progress/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for node-progress v1.1.8 +// Type definitions for node-progress v2.0.0 // Project: https://github.com/tj/node-progress // Definitions by: Sebastian Lenz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -15,12 +15,27 @@ interface ProgressBarOptions { * Total number of ticks to complete. */ total: number; - + + /** + * current completed index + */ + curr?: number; + + /** + * head character defaulting to complete character + */ + head?: string; + /** * The displayed width of the progress bar defaulting to total. */ width?: number; + /** + * minimum time between updates in milliseconds defaulting to 16 + */ + renderThrottle?: number; + /** * The output stream defaulting to stderr. */