Skip to content

Commit

Permalink
Fix type definitions
Browse files Browse the repository at this point in the history
rest parameters are always optional so the `?` creates a compile error as it is not a array type
  • Loading branch information
JProgrammer authored Aug 15, 2018
1 parent 6200ec8 commit 52e472d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
export function combineLoads(...loads:object[]):object
}

0 comments on commit 52e472d

Please sign in to comment.