@types/redux-immutable-state-invariant
Advanced tools
Comparing version 2.1.0 to 2.1.1
// Type definitions for redux-immutable-state-invariant 2.1 | ||
// Project: https://github.com/leoasis/redux-immutable-state-invariant | ||
// Definitions by: Remo H. Jansen <https://github.com/remojansen>, Ben Rogers <https://github.com/highflying>, Mihai Dinculescu <https://github.com/mihai-dinculescu> | ||
// Definitions by: Remo H. Jansen <https://github.com/remojansen> | ||
// Ben Rogers <https://github.com/highflying> | ||
// Mihai Dinculescu <https://github.com/mihai-dinculescu> | ||
// Nick Galloway <https://github.com/blackarctic> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -9,5 +12,10 @@ // TypeScript Version: 2.3 | ||
type isImmutableDefault = (value: any) => boolean; | ||
type immutableStateInvariantMiddlewareInterface = (isImmutable?: isImmutableDefault) => Redux.Middleware; | ||
interface immutableStateInvariantMiddlewareOptions { | ||
isImmutable?: (value: any) => boolean; | ||
ignore?: string[]; | ||
} | ||
type immutableStateInvariantMiddlewareInterface = ( | ||
options?: immutableStateInvariantMiddlewareOptions, | ||
) => Redux.Middleware; | ||
declare let immutableStateInvariantMiddleware: immutableStateInvariantMiddlewareInterface; | ||
export default immutableStateInvariantMiddleware; |
{ | ||
"name": "@types/redux-immutable-state-invariant", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "TypeScript definitions for redux-immutable-state-invariant", | ||
@@ -21,2 +21,7 @@ "license": "MIT", | ||
"githubUsername": "mihai-dinculescu" | ||
}, | ||
{ | ||
"name": "Nick Galloway", | ||
"url": "https://github.com/blackarctic", | ||
"githubUsername": "blackarctic" | ||
} | ||
@@ -28,3 +33,4 @@ ], | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/redux-immutable-state-invariant" | ||
}, | ||
@@ -35,4 +41,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "0114d5cfed29a6d0df9842cc88e04e3500f209c77b4173a8042052d690bb5b91", | ||
"typesPublisherContentHash": "984c868d6570fb2675154e6469f2eb1117d8560165f36efa606f6a186507f88a", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for redux-immutable-state-invariant (https://github.com/leoasis/redux-immutable-state-invariant). | ||
This package contains type definitions for redux-immutable-state-invariant ( https://github.com/leoasis/redux-immutable-state-invariant ). | ||
@@ -12,7 +12,7 @@ # Details | ||
Additional Details | ||
* Last updated: Mon, 26 Nov 2018 14:40:08 GMT | ||
* Dependencies: redux | ||
* Last updated: Wed, 05 Jun 2019 23:01:45 GMT | ||
* Dependencies: @types/redux | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Remo H. Jansen <https://github.com/remojansen>, Ben Rogers <https://github.com/highflying>, Mihai Dinculescu <https://github.com/mihai-dinculescu>. | ||
These definitions were written by Remo H. Jansen <https://github.com/remojansen>, Ben Rogers <https://github.com/highflying>, Mihai Dinculescu <https://github.com/mihai-dinculescu>, Nick Galloway <https://github.com/blackarctic>. |
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4121
18
0
3