0
0

Module 'nprogress' as import syntax (#4012)

This commit is contained in:
Acid Chicken (硫酸鶏) 2019-01-27 19:41:41 +09:00 committed by Aya Morisawa
parent 103fe8b91d
commit 78763116c3
2 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@
"@types/ms": "0.7.30",
"@types/node": "10.12.18",
"@types/nodemailer": "4.6.5",
"@types/nprogress": "0.0.29",
"@types/oauth": "0.9.1",
"@types/parsimmon": "1.10.0",
"@types/portscanner": "2.1.0",

View File

@ -1,4 +1,4 @@
const NProgress = require('nprogress');
import * as NProgress from 'nprogress';
NProgress.configure({
trickleSpeed: 500,
showSpinner: false