From 52e472da96176531c81ef877cafdfc21a9d28a6f Mon Sep 17 00:00:00 2001 From: Cameron Crothers Date: Wed, 15 Aug 2018 19:55:14 +1000 Subject: [PATCH] Fix type definitions rest parameters are always optional so the `?` creates a compile error as it is not a array type --- dist/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.d.ts b/dist/index.d.ts index 668f81b..8f94ab1 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -20,5 +20,5 @@ declare module 'redux-localstorage-simple' { export function save(options?:RLSOptions):Middleware export function load(options?:LoadOptions):object export function clear(options?:ClearOptions):void - export function combineLoads(...loads?:object[]):object -} \ No newline at end of file + export function combineLoads(...loads:object[]):object +}