mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
utils
This commit is contained in:
parent
5923d744c7
commit
caeb245d2d
|
@ -15,7 +15,6 @@ export interface ActionCreatorObject {
|
||||||
readonly args: readonly string[];
|
readonly args: readonly string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
||||||
function flatTree(
|
function flatTree(
|
||||||
obj: { [key: string]: ActionCreator<Action<string>> },
|
obj: { [key: string]: ActionCreator<Action<string>> },
|
||||||
namespace = '',
|
namespace = '',
|
||||||
|
@ -217,9 +216,9 @@ export function getSeralizeParameter(
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getStackTrace(
|
export function getStackTrace(
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||||
config: { trace?: () => {}; traceLimit: number },
|
config: { trace?: () => {}; traceLimit: number },
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
||||||
toExcludeFromTrace?: Function | undefined,
|
toExcludeFromTrace?: Function | undefined,
|
||||||
) {
|
) {
|
||||||
if (!config.trace) return undefined;
|
if (!config.trace) return undefined;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user