From 1968d18e3f0b3d84ab3f3bcd0ab38c6bb1295738 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Thu, 29 Mar 2018 14:59:06 +0900
Subject: [PATCH] Use @type

---
 package.json     | 3 ++-
 src/parse-opt.ts | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 5d11bf330d..743994aedc 100644
--- a/package.json
+++ b/package.json
@@ -65,6 +65,7 @@
 		"@types/ms": "0.7.30",
 		"@types/multer": "1.3.6",
 		"@types/node": "9.6.0",
+		"@types/nopt": "3.0.29",
 		"@types/proxy-addr": "2.0.0",
 		"@types/pug": "2.0.4",
 		"@types/qrcode": "0.8.1",
@@ -149,10 +150,10 @@
 		"morgan": "1.9.0",
 		"ms": "2.1.1",
 		"multer": "1.3.0",
-		"nopt": "4.0.1",
 		"nan": "2.10.0",
 		"node-sass": "4.8.3",
 		"node-sass-json-importer": "3.1.6",
+		"nopt": "4.0.1",
 		"nprogress": "0.2.0",
 		"object-assign-deep": "0.3.1",
 		"on-build-webpack": "0.1.0",
diff --git a/src/parse-opt.ts b/src/parse-opt.ts
index 61dc60c6cd..031b1a6fe2 100644
--- a/src/parse-opt.ts
+++ b/src/parse-opt.ts
@@ -1,4 +1,4 @@
-const nopt = require('nopt');
+import * as nopt from 'nopt';
 
 export default (vector, index) => {
 	const parsed = nopt({