mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 22:23:10 +02:00
Use @type
This commit is contained in:
parent
b3bd6b60b4
commit
1968d18e3f
2 changed files with 3 additions and 2 deletions
|
@ -65,6 +65,7 @@
|
||||||
"@types/ms": "0.7.30",
|
"@types/ms": "0.7.30",
|
||||||
"@types/multer": "1.3.6",
|
"@types/multer": "1.3.6",
|
||||||
"@types/node": "9.6.0",
|
"@types/node": "9.6.0",
|
||||||
|
"@types/nopt": "3.0.29",
|
||||||
"@types/proxy-addr": "2.0.0",
|
"@types/proxy-addr": "2.0.0",
|
||||||
"@types/pug": "2.0.4",
|
"@types/pug": "2.0.4",
|
||||||
"@types/qrcode": "0.8.1",
|
"@types/qrcode": "0.8.1",
|
||||||
|
@ -149,10 +150,10 @@
|
||||||
"morgan": "1.9.0",
|
"morgan": "1.9.0",
|
||||||
"ms": "2.1.1",
|
"ms": "2.1.1",
|
||||||
"multer": "1.3.0",
|
"multer": "1.3.0",
|
||||||
"nopt": "4.0.1",
|
|
||||||
"nan": "2.10.0",
|
"nan": "2.10.0",
|
||||||
"node-sass": "4.8.3",
|
"node-sass": "4.8.3",
|
||||||
"node-sass-json-importer": "3.1.6",
|
"node-sass-json-importer": "3.1.6",
|
||||||
|
"nopt": "4.0.1",
|
||||||
"nprogress": "0.2.0",
|
"nprogress": "0.2.0",
|
||||||
"object-assign-deep": "0.3.1",
|
"object-assign-deep": "0.3.1",
|
||||||
"on-build-webpack": "0.1.0",
|
"on-build-webpack": "0.1.0",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const nopt = require('nopt');
|
import * as nopt from 'nopt';
|
||||||
|
|
||||||
export default (vector, index) => {
|
export default (vector, index) => {
|
||||||
const parsed = nopt({
|
const parsed = nopt({
|
||||||
|
|
Loading…
Reference in a new issue