Skip to content

Commit

Permalink
fix: storage middleware types
Browse files Browse the repository at this point in the history
  • Loading branch information
belohlavek committed Aug 1, 2019
1 parent c159e20 commit 7150b92
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 65 deletions.
74 changes: 14 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"date-fns": "^1.29.0",
"flat": "^4.1.0",
"react-intl": "^2.4.0",
"redux-persistence": "^1.1.1",
"redux-persistence": "^1.1.2",
"redux-storage-decorator-filter": "^1.1.8",
"redux-storage-engine-localstorage": "^1.1.4",
"tslint": "^5.7.0",
Expand Down
10 changes: 6 additions & 4 deletions src/modules/storage/actions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { LOAD, SAVE } from 'redux-persistence'

export const STORAGE_LOAD = LOAD
export const STORAGE_SAVE = SAVE
export {
LoadAction,
SaveAction,
LOAD as STORAGE_LOAD,
SAVE as STORAGE_SAVE
} from 'redux-persistence'

0 comments on commit 7150b92

Please sign in to comment.