Socket
Socket
Sign inDemoInstall

typesafe-actions

Package Overview
Dependencies
0
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0-1 to 5.0.0-3

6

dist/create-reducer.d.ts

@@ -5,3 +5,2 @@ import { Reducer, Action, Types } from './type-helpers';

handleAction: HandleActionChainApi<TState, TOutputAction, TRootAction>;
handleType: HandleTypeChainApi<TState, TOutputAction, TRootAction>;
} : Reducer<TState, TRootAction> & {

@@ -12,3 +11,2 @@ handlers: Record<TRootAction['type'], (state: TState, action: TRootAction) => TState>;

handlers: Record<Exclude<TRootAction, TOutputAction>['type'], (state: TState, action: TRootAction) => TState>;
handleAction: HandleActionChainApi<TState, TOutputAction, TRootAction>;
handleType: HandleTypeChainApi<TState, TOutputAction, TRootAction>;

@@ -27,5 +25,5 @@ } : Reducer<TState, TRootAction> & {

handlers: InitialHandler<TState, any>;
readonly handleAction: [unknown] extends [TRootAction] ? any : HandleActionChainApi<TState, TRootAction, TRootAction>;
readonly handleType: [unknown] extends [TRootAction] ? any : HandleTypeChainApi<TState, TRootAction, TRootAction>;
handleAction: [unknown] extends [TRootAction] ? any : HandleActionChainApi<TState, TRootAction, TRootAction>;
handleType: [unknown] extends [TRootAction] ? any : HandleTypeChainApi<TState, TRootAction, TRootAction>;
}>;
export {};
{
"name": "typesafe-actions",
"version": "5.0.0-1",
"version": "5.0.0-3",
"description": "Typesafe Action Creators for Redux / Flux Architectures (in TypeScript)",

@@ -5,0 +5,0 @@ "author": "Piotr Witek <piotrek.witek@gmail.com> (http://piotrwitek.github.io)",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc