Skip to content

Commit

Permalink
Merge pull request #9 from marleau/master
Browse files Browse the repository at this point in the history
Update typescript declaration file to include load() options
  • Loading branch information
kilkelly authored Mar 6, 2018
2 parents cb60ae6 + ed42744 commit 151ee77
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ declare module 'redux-localstorage-simple' {
namespace?: string;
debounce?: number;
}
interface LoadOptions {
states?: string[];
namespace?: string;
immutablejs?: boolean;
preloadedState?: {};
}
export function save(options?:RLSOptions):Middleware
export function load():object
export function load(options?:LoadOptions):object
}

0 comments on commit 151ee77

Please sign in to comment.