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

reshow-flux-base

Package Overview
Dependencies
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reshow-flux-base - npm Package Compare versions

Comparing version 0.17.39 to 0.17.40

6

build/cjs/src/createReducer.js

@@ -166,3 +166,4 @@ "use strict";

* @template StateType
* @typedef {function(State<StateType>, ActionObject): State<any>} ReducerType
* @template ActionType
* @typedef {function(State<StateType>, ActionObject|ActionType): State<any>} ReducerType
*/

@@ -180,3 +181,4 @@

* @template StateType
* @param {ReducerType<StateType>} reducer
* @template ActionType
* @param {ReducerType<StateType, ActionType>} reducer
* @param {InitStateType<StateType>} [initState]

@@ -183,0 +185,0 @@ * @returns {[StoreObject<StateType>, DispatchType<StateType>]}

{
"version": "0.17.39",
"version": "0.17.40",
"name": "reshow-flux-base",

@@ -4,0 +4,0 @@ "repository": {

@@ -44,3 +44,3 @@ /**

export type EmitterEmitCall<StateType> = (state: State<StateType>, action: ActionObject, prevState: State<StateType>) => any;
export type ReducerType<StateType> = (arg0: State<StateType>, arg1: ActionObject) => State<any>;
export type ReducerType<StateType, ActionType> = (arg0: State<StateType>, arg1: ActionObject | ActionType) => State<any>;
export type DispatchType<StateType> = (action: DispatchAction<StateType>, actionParams?: Payload) => State<StateType>;

@@ -95,3 +95,4 @@ /**

* @template StateType
* @typedef {function(State<StateType>, ActionObject): State<any>} ReducerType
* @template ActionType
* @typedef {function(State<StateType>, ActionObject|ActionType): State<any>} ReducerType
*/

@@ -107,6 +108,7 @@ /**

* @template StateType
* @param {ReducerType<StateType>} reducer
* @template ActionType
* @param {ReducerType<StateType, ActionType>} reducer
* @param {InitStateType<StateType>} [initState]
* @returns {[StoreObject<StateType>, DispatchType<StateType>]}
*/
declare function createReducer<StateType>(reducer: ReducerType<StateType>, initState?: InitStateType<StateType>): [StoreObject<StateType>, DispatchType<StateType>];
declare function createReducer<StateType, ActionType>(reducer: ReducerType<StateType, ActionType>, initState?: InitStateType<StateType>): [StoreObject<StateType>, DispatchType<StateType>];
export { default as SimpleMap } from "./SimpleMap";
export type InitStateType<StateType> = import("./createReducer").InitStateType<StateType>;
export type ReducerType<StateType> = import("./createReducer").ReducerType<StateType>;
export type ReducerType<StateType, ActionType> = import("./createReducer").ReducerType<StateType, ActionType>;
export type DispatchType<StateType> = import("./createReducer").DispatchType<StateType>;
export { default as createReducer, refineAction, StoreObject, ActionObject } from "./createReducer";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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