Use @type

This commit is contained in:
syuilo 2018-03-29 14:59:06 +09:00
parent 64e4057850
commit 7d2e176aa1
2 changed files with 3 additions and 2 deletions

View file

@ -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",

View file

@ -1,4 +1,4 @@
const nopt = require('nopt');
import * as nopt from 'nopt';
export default (vector, index) => {
const parsed = nopt({