From ed42744f2d495a6823fbe07a95edc6435b6371ce Mon Sep 17 00:00:00 2001 From: marleau Date: Mon, 5 Mar 2018 21:19:39 -0800 Subject: [PATCH] Update typescript declaration file to include load() options --- dist/index.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dist/index.d.ts b/dist/index.d.ts index e5947b9..218e6e7 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -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 } \ No newline at end of file