This commit is contained in:
12
node_modules/@reduxjs/toolkit/dist/actionCreatorInvariantMiddleware.d.ts
generated
vendored
Normal file
12
node_modules/@reduxjs/toolkit/dist/actionCreatorInvariantMiddleware.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { Middleware } from 'redux';
|
||||
export interface ActionCreatorInvariantMiddlewareOptions {
|
||||
/**
|
||||
* The function to identify whether a value is an action creator.
|
||||
* The default checks for a function with a static type property and match method.
|
||||
*/
|
||||
isActionCreator?: (action: unknown) => action is Function & {
|
||||
type?: unknown;
|
||||
};
|
||||
}
|
||||
export declare function getMessage(type?: unknown): string;
|
||||
export declare function createActionCreatorInvariantMiddleware(options?: ActionCreatorInvariantMiddlewareOptions): Middleware;
|
||||
Reference in New Issue
Block a user