fix inclusion of progress module

This commit is contained in:
Bryan Kendall 2018-12-13 14:34:55 -08:00
parent a384bde65d
commit db1fac022e
No known key found for this signature in database
GPG Key ID: 824E061015787F62

View File

@ -5,7 +5,7 @@
/// <reference types="node"/>
import ProgressBar, { ProgressBarOptions } from 'progress';
import * as ProgressBar from 'progress';
import { Stream } from 'stream';
export default class MultiProgress {
@ -18,7 +18,7 @@ export default class MultiProgress {
/**
* Add a new bar
*/
newBar: (format: string, options: ProgressBarOptions) => ProgressBar;
newBar: (format: string, options: ProgressBar.ProgressBarOptions) => ProgressBar;
/**
* Close all bars