@types/redux-storage
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -11,3 +11,3 @@ // Type definitions for redux-storage 4.1.2 | ||
declare module "redux-storage" { | ||
import { Reducer, Store, Middleware } from "redux"; | ||
import { Middleware, Reducer, Store } from "redux"; | ||
@@ -50,3 +50,3 @@ /** | ||
*/ | ||
export type ActionTypeCheckCallback = (type: string) => boolean | ||
export type ActionTypeCheckCallback = (type: string) => boolean; | ||
@@ -59,3 +59,7 @@ /** | ||
*/ | ||
export function createMiddleware(engine: StorageEngine, actionBlacklist?: string[], actionWhitelist?: string[] | ActionTypeCheckCallback): Middleware; | ||
export function createMiddleware( | ||
engine: StorageEngine, | ||
actionBlacklist?: string[], | ||
actionWhitelist?: string[] | ActionTypeCheckCallback, | ||
): Middleware; | ||
@@ -74,3 +78,2 @@ /** | ||
export function createLoader<TState>(engine: StorageEngine): Loader<TState>; | ||
} | ||
@@ -101,3 +104,3 @@ | ||
*/ | ||
export default function (engine: StorageEngine, whitelist?: FilterList, blacklist?: FilterList): StorageEngine; | ||
export default function(engine: StorageEngine, whitelist?: FilterList, blacklist?: FilterList): StorageEngine; | ||
} | ||
@@ -108,3 +111,3 @@ | ||
export interface ReactNativeAsyncStorageEngine extends StorageEngine { } | ||
export interface ReactNativeAsyncStorageEngine extends StorageEngine {} | ||
@@ -111,0 +114,0 @@ /** |
{ | ||
"name": "@types/redux-storage", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "TypeScript definitions for redux-storage", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-storage", | ||
"license": "MIT", | ||
@@ -19,3 +20,3 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -30,4 +31,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "4dd4fa94f0249d020bd800fd574633ee02f19a40ca8ae55ea4b38c0ecbc5bb3f", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "62ef452a5911b5e9816741c854783d80691a840a25732fbfc21e857b7d8857b5", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for redux-storage ( https://github.com/react-stack/redux-storage ). | ||
This package contains type definitions for redux-storage (https://github.com/react-stack/redux-storage). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-storage | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-storage. | ||
Additional Details | ||
* Last updated: Sat, 04 May 2019 07:57:49 GMT | ||
* Dependencies: @types/redux | ||
### Additional Details | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: [@types/redux](https://npmjs.com/package/@types/redux) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Alexey Svetliakov <https://github.com/asvetliakov>, Alexey Pelykh <https://github.com/alexey-pelykh>. | ||
These definitions were written by [Alexey Svetliakov](https://github.com/asvetliakov), and [Alexey Pelykh](https://github.com/alexey-pelykh). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6118
102
0