Skip to content

Commit

Permalink
Update typescript declaration file to include load() options
Browse files Browse the repository at this point in the history
  • Loading branch information
marleau committed Mar 6, 2018
1 parent cb60ae6 commit ed42744
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 ed42744

Please sign in to comment.