Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redux-starter-kit

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-starter-kit - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

2

package.json
{
"name": "redux-starter-kit",
"version": "0.4.2",
"version": "0.4.3",
"description": "A simple set of tools to make using Redux easier",

@@ -5,0 +5,0 @@ "repository": "https://github.com/markerikson/redux-starter-kit",

@@ -49,3 +49,3 @@ import createNextState, { Draft } from 'immer'

actionsMap: CaseReducersMapObject<S, A>
): Reducer<S, A> {
): Reducer<S> {
return function(state = initialState, action): S {

@@ -57,5 +57,5 @@ // @ts-ignore createNextState() produces an Immutable<Draft<S>> rather

const caseReducer = actionsMap[action.type]
return caseReducer ? caseReducer(draft, action) : undefined
return caseReducer ? caseReducer(draft, action as A) : undefined
})
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc