mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 11:33:10 +02:00
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/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",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
const NProgress = require('nprogress');
|
||||
import * as NProgress from 'nprogress';
|
||||
NProgress.configure({
|
||||
trickleSpeed: 500,
|
||||
showSpinner: false
|
||||
|
|
Loading…
Reference in a new issue