Skip to content

Commit

Permalink
Module 'nprogress' as import syntax (#4012)
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken authored and AyaMorisawa committed Jan 27, 2019
1 parent 103fe8b commit 7876311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/client/app/common/scripts/loading.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const NProgress = require('nprogress');
import * as NProgress from 'nprogress';
NProgress.configure({
trickleSpeed: 500,
showSpinner: false
Expand Down

0 comments on commit 7876311

Please sign in to comment.