Module 'nprogress' as import syntax (#4012)
This commit is contained in:
parent
103fe8b91d
commit
78763116c3
2 changed files with 2 additions and 1 deletions
|
@ -65,6 +65,7 @@
|
||||||
"@types/ms": "0.7.30",
|
"@types/ms": "0.7.30",
|
||||||
"@types/node": "10.12.18",
|
"@types/node": "10.12.18",
|
||||||
"@types/nodemailer": "4.6.5",
|
"@types/nodemailer": "4.6.5",
|
||||||
|
"@types/nprogress": "0.0.29",
|
||||||
"@types/oauth": "0.9.1",
|
"@types/oauth": "0.9.1",
|
||||||
"@types/parsimmon": "1.10.0",
|
"@types/parsimmon": "1.10.0",
|
||||||
"@types/portscanner": "2.1.0",
|
"@types/portscanner": "2.1.0",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const NProgress = require('nprogress');
|
import * as NProgress from 'nprogress';
|
||||||
NProgress.configure({
|
NProgress.configure({
|
||||||
trickleSpeed: 500,
|
trickleSpeed: 500,
|
||||||
showSpinner: false
|
showSpinner: false
|
||||||
|
|
Loading…
Reference in a new issue