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

@types/redux-actions

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/redux-actions - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

redux-actions/LICENSE

32

redux-actions/index.d.ts

@@ -10,7 +10,7 @@ // Type definitions for redux-actions 1.2

// See: https://github.com/acdlite/flux-standard-action
interface BaseAction {
export interface BaseAction {
type: string;
}
interface Action<Payload> extends BaseAction {
export interface Action<Payload> extends BaseAction {
payload?: Payload;

@@ -20,15 +20,15 @@ error?: boolean;

interface ActionMeta<Payload, Meta> extends Action<Payload> {
export interface ActionMeta<Payload, Meta> extends Action<Payload> {
meta: Meta;
}
interface ReducerMap<State, Payload> {
export interface ReducerMap<State, Payload> {
[actionType: string]: Reducer<State, Payload> | ReducerNextThrow<State, Payload>;
}
interface ReducerMapMeta<State, Payload, Meta> {
export interface ReducerMapMeta<State, Payload, Meta> {
[actionType: string]: Reducer<State, Payload> | ReducerNextThrow<State, Payload>;
}
interface ReducerNextThrow<State, Payload> {
export interface ReducerNextThrow<State, Payload> {
next?(state: State, action: Action<Payload>): State;

@@ -38,3 +38,3 @@ throw?(state: State, action: Action<Payload>): State;

interface ReducerNextThrowMeta<State, Payload, Meta> {
export interface ReducerNextThrowMeta<State, Payload, Meta> {
next?(state: State, action: ActionMeta<Payload, Meta>): State;

@@ -44,3 +44,3 @@ throw?(state: State, action: ActionMeta<Payload, Meta>): State;

type ActionFunctions<Payload> =
export type ActionFunctions<Payload> =
ActionFunction0<Action<Payload>> |

@@ -53,13 +53,13 @@ ActionFunction1<any, Action<Payload>> |

type Reducer<State, Payload> = (state: State, action: Action<Payload>) => State;
export type Reducer<State, Payload> = (state: State, action: Action<Payload>) => State;
type ReducerMeta<State, Payload, Meta> = (state: State, action: ActionMeta<Payload, Meta>) => State;
export type ReducerMeta<State, Payload, Meta> = (state: State, action: ActionMeta<Payload, Meta>) => State;
/** argument inferring borrowed from lodash definitions */
type ActionFunction0<R> = () => R;
type ActionFunction1<T1, R> = (t1: T1) => R;
type ActionFunction2<T1, T2, R> = (t1: T1, t2: T2) => R;
type ActionFunction3<T1, T2, T3, R> = (t1: T1, t2: T2, t3: T3) => R;
type ActionFunction4<T1, T2, T3, T4, R> = (t1: T1, t2: T2, t3: T3, t4: T4) => R;
type ActionFunctionAny<R> = (...args: any[]) => R;
export type ActionFunction0<R> = () => R;
export type ActionFunction1<T1, R> = (t1: T1) => R;
export type ActionFunction2<T1, T2, R> = (t1: T1, t2: T2) => R;
export type ActionFunction3<T1, T2, T3, R> = (t1: T1, t2: T2, t3: T3) => R;
export type ActionFunction4<T1, T2, T3, T4, R> = (t1: T1, t2: T2, t3: T3, t4: T4) => R;
export type ActionFunctionAny<R> = (...args: any[]) => R;

@@ -66,0 +66,0 @@ export function createAction<Payload>(

{
"name": "@types/redux-actions",
"version": "1.2.3",
"version": "1.2.4",
"description": "TypeScript definitions for redux-actions",

@@ -24,4 +24,4 @@ "license": "MIT",

"peerDependencies": {},
"typesPublisherContentHash": "acc0c23570b114bc353cd0c77b30fcf0c9e250960d4808b1062c9967032889d9",
"typesPublisherContentHash": "2eb4fe6c1d0c132f254ac76a23a9addb3d3d4cd68f0ed4b24c7f951b31030001",
"typeScriptVersion": "2.0"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/redux-actions
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-actions
Additional Details
* Last updated: Thu, 23 Feb 2017 18:39:27 GMT
* Last updated: Mon, 17 Apr 2017 17:55:17 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: ReduxActions

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