diff --git a/ui/package.json b/ui/package.json index 35509ff..21774af 100644 --- a/ui/package.json +++ b/ui/package.json @@ -35,7 +35,7 @@ "@types/flux": "^3.1.7", "@types/jest": "^22.2.3", "@types/node": "^9.6.5", - "@types/notifyjs": "^1.2.30", + "@types/notifyjs": "^3.0.0", "@types/react": "^16.4.11", "@types/react-dom": "^16.0.7", "@types/react-list": "^0.8.4", diff --git a/ui/src/typedef/notifyjs.d.ts b/ui/src/typedef/notifyjs.d.ts index 364e612..fd084f5 100644 --- a/ui/src/typedef/notifyjs.d.ts +++ b/ui/src/typedef/notifyjs.d.ts @@ -1,3 +1,3 @@ -declare module 'notifyjs' { - export default Notify; -} +import Notify = require('notifyjs'); +export as namespace notifyjs; +export = Notify;