Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kilkelly committed Feb 23, 2018
2 parents 0f5d973 + 843a2e8 commit cb60ae6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {Middleware} from "redux";
import * as m from 'redux-localstorage-simple';

declare module 'redux-localstorage-simple' {
interface RLSOptions {
states?: string[];
namespace?: string;
debounce?: number;
}
export function save(options?:RLSOptions):Middleware
export function load():object
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.4.0",
"description": "Save and load Redux state to and from LocalStorage. Supports Immutable.js data structures.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "rimraf dist",
"build": "npm run build:dist && npm run build:test",
Expand Down

0 comments on commit cb60ae6

Please sign in to comment.