From 3e6997c34ee26cbc501e2af6798f253a38bb75d7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 7 Jun 2017 02:15:31 +0900 Subject: [PATCH] Refactor --- src/utils/cli/progressbar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/cli/progressbar.ts b/src/utils/cli/progressbar.ts index 1a0023e8db..4afb4b0904 100644 --- a/src/utils/cli/progressbar.ts +++ b/src/utils/cli/progressbar.ts @@ -1,11 +1,11 @@ -import * as ev from 'events'; +import { EventEmitter } from 'events'; import * as readline from 'readline'; import * as chalk from 'chalk'; /** * Progress bar */ -export default class extends ev.EventEmitter { +export default class extends EventEmitter { public max: number; public value: number; public text: string;